I have similar problem: my UIView's gestures convict with SwiftUI view's gestures. They trigger simultaneously :(
Post
Replies
Boosts
Views
Activity
I have the same issue but in horizontal direction
import SwiftUI
struct ContentView: View {
var body: some View {
ScrollViewReader { proxy in
ScrollView {
VStack {
Color.yellow
.frame(height: 900)
ScrollButton(proxy: proxy)
Color.yellow
.frame(height: 900)
}
.padding(.horizontal, 40)
}
}
}
}
struct ScrollButton: View {
let proxy: ScrollViewProxy
@Namespace var bottomId
var body: some View {
VStack {
Button("Scroll") {
withAnimation {
proxy.scrollTo(bottomId, anchor: .top)
}
}
}.id(bottomId)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Xcode 14Beta didn't help actually. Still crashing
Same issue.
XCode 13, 14.
MacBook Pro (16-inch, 2019) 2.6 / 16.
It will soon become 1 year since i first experienced this issue.
Reported dozens of crash reports. Apple doesn't care..
hi. I have couple crashes of this kind on iOS 15-16 devices. Do you guys experience this issue on iOS 17-18?