You probably did something like this:
NavigationView {
	ContentView()
		.environmentObject(yourObject)
}
whereas you have to do this instead (i.e. put the environmentObject *outside* the NavigationView
NavigationView {
	ContentView()
}
.environmentObject(yourObject)
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: