Thank you for sharing your solution. I ran into this bug today and spent hours trying to debug it. I just added a tab view controller to my app and one of the tabs is a hosting view controller that hosts a SwiftUI map which ignores all safe edges. When this map tab was selected, the only part of the tab view that was visible was the selected/current tab. I would have wasted a lot more time trying to debug this without your suggestion.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: