have exact same issues. Did you manage to solve? @34534543456789098767654
Post
Replies
Boosts
Views
Activity
hi. I have couple crashes of this kind on iOS 15-16 devices. Do you guys experience this issue on iOS 17-18?
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..
Xcode 14Beta didn't help actually. Still crashing
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()
}
}
I have the same issue but in horizontal direction
I have similar problem: my UIView's gestures convict with SwiftUI view's gestures. They trigger simultaneously :(