Post

Replies

Boosts

Views

Activity

Reply to iOS 16 crash on dismiss sheet with navigationView
I had the same problem except it happened when calling dismiss on a PresentationMode in SwiftUI. FWIW scheduling it on the next RunLoop worked for me: RunLoop.main.schedule { self.presentationMode.wrappedValue.dismiss() }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to SwiftData & context
Did you try checking before calling context.save() but after having edited? Once it has been saved these will be empty.
Replies
Boosts
Views
Activity
Apr ’24