Post

Replies

Boosts

Views

Activity

Comment on iOS 16 crash on dismiss sheet with navigationView
Depending how you present the .sheet just call the code before you set the binding of isPresented to false or set the binding Item to nil
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on iOS 16 crash on dismiss sheet with navigationView
I'm able to get it crash on device a couple of times with debugger attached but it does not get caught with any breakpoint and nothing useful with the stack trace...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on iOS 16 crash on dismiss sheet with navigationView
What I don't understand is, it happens to 1 of my flow but doesn't happen to the other flow where I use the same approach.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on iOS 16 crash on dismiss sheet with navigationView
I assume your app is targeting iOS 16+. If you need to support iOS 15 you will need to have 2 sets of code 1 for iOS 15 using NavigationView and 1 for iOS 16 using NavigationStack?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on iOS 16 crash on dismiss sheet with navigationView
Did you find any workaround?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22