I have a simple pattern : a list view with a detail view. Both have navigation bar item.
Problem:
Only on the detail view when I rotate the screen to landscape, the navigation bar item disappears and will never appear anymore even If I rotate back. This bug occurs only on iOS14.
ListView :
DetailView :
Problem:
Only on the detail view when I rotate the screen to landscape, the navigation bar item disappears and will never appear anymore even If I rotate back. This bug occurs only on iOS14.
ListView :
Code Block NavigationView{ ZStack{ (List and NavigationLink...) }.navigationBarItems(trailing: Button(...)) .sheet(someSheet...) }.navigationViewStyle(StackNavigationViewStyle())
DetailView :
Code Block ZStack { (someView...) .navigationBarTitle(...) .navigationBarItems(trailing: Button(...)) .sheet(someSheet...) }