Any experience with SwifUI NavigationView in landscape on iPhone XR simulator?
问题 I tried running my app in landscape on an iPhone XR simulator and got a blank screen. The code below is my test. It works correctly on an iPhone 8 simulator and also not the iPhone XR simulator if I remove the NavigationView. import SwiftUI struct ContentView: View { var body: some View { NavigationView { GeometryReader { gp in VStack(alignment: HorizontalAlignment.center) { Text("Width: \(gp.size.width)") Text("Height: \(gp.size.height)") } } } } } I expect that I will see the size of the