I think the first problem you mentioned is similar to the issue I reported earlier: 815492
In the feedback assistant they have acknowledged and fix has been identified for future OS update.
Post
Replies
Boosts
Views
Activity
Hi Travis ( @DTS Engineer ), I have created a bug report: FB22155477 I have also attached screen recording of bug and a minimal reproducible example project.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Hi, anyone from DTS team can check the update?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Hi Albert,
I have created a reproducible example for you to try.
import SwiftUI
struct ContentView: View {
@State private var isBookmarked = false
var body: some View {
NavigationStack {
VStack {
Text(isBookmarked ? "Bookmarked" : "Not bookmarked")
}
.padding()
.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
Button(action: toggleBookmark) {
Image(systemName: isBookmarked ? "bookmark.fill" : "bookmark")
}
}
}
}
}
private func toggleBookmark() {
isBookmarked.toggle()
}
}
#Preview {
ContentView()
}
You can see in this simple example without any additional modifiers, that whole circular area is not tappable.
Also using
Circle()
.foregroundColor(.clear)
.frame(width: 54, height: 54)
still leaves some un-tappable area in item.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Can someone from apple check this?
Topic:
UI Frameworks
SubTopic:
SwiftUI
I hope this is not by design as it is very bad user experience.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Hi Travis,
Thanks for the reply.
I actually found the issue. Problem was arising due to the assets file being in "Development Assets" in Build Settings. So Image was not displaying in devices where I installed the app from TestFlight.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
I think the first problem you mentioned is similar to the issue I reported earlier: 815492
In the feedback assistant they have acknowledged and fix has been identified for future OS update.
- Replies
- Boosts
- Views
- Activity
Hi Travis ( @DTS Engineer ), I have created a bug report: FB22155477 I have also attached screen recording of bug and a minimal reproducible example project.
Topic:
UI Frameworks
SubTopic:
SwiftUI
- Replies
- Boosts
- Views
- Activity
Hi, anyone from DTS team can check the update?
Topic:
UI Frameworks
SubTopic:
SwiftUI
- Replies
- Boosts
- Views
- Activity
Hi Albert,
I have created a reproducible example for you to try.
import SwiftUI
struct ContentView: View {
@State private var isBookmarked = false
var body: some View {
NavigationStack {
VStack {
Text(isBookmarked ? "Bookmarked" : "Not bookmarked")
}
.padding()
.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
Button(action: toggleBookmark) {
Image(systemName: isBookmarked ? "bookmark.fill" : "bookmark")
}
}
}
}
}
private func toggleBookmark() {
isBookmarked.toggle()
}
}
#Preview {
ContentView()
}
You can see in this simple example without any additional modifiers, that whole circular area is not tappable.
Also using
Circle()
.foregroundColor(.clear)
.frame(width: 54, height: 54)
still leaves some un-tappable area in item.
Topic:
UI Frameworks
SubTopic:
SwiftUI
- Replies
- Boosts
- Views
- Activity
Can someone from apple check this?
Topic:
UI Frameworks
SubTopic:
SwiftUI
- Replies
- Boosts
- Views
- Activity
I hope this is not by design as it is very bad user experience.
Topic:
UI Frameworks
SubTopic:
SwiftUI
- Replies
- Boosts
- Views
- Activity
Hi Travis,
Thanks for the reply.
I actually found the issue. Problem was arising due to the assets file being in "Development Assets" in Build Settings. So Image was not displaying in devices where I installed the app from TestFlight.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
- Replies
- Boosts
- Views
- Activity