Post

Replies

Boosts

Views

Activity

Comment on Should EnvironmentObject pass through NavigationLink
This was it. I can imagine now why this would be the case (subviews presented through a NavigationView are descendants of the NavigationView and not the view that contains the NavigationLink), but wow this is an insidious gotcha even for SwiftUI.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23