Post

Replies

Boosts

Views

Activity

Comment on SwiftUI Navigation Stack pops back on ObservableObject update
Definitely broken in iOS16. It appears (from my reading) that this is the way things work. Any change to an ObservedObject outside of a NavigationStack or sheet will cause the parent view to be rebuilt, which in turn wipes the stack or sheet.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’23