Hello,
I have a watchOS 7 app that has multiple pages. It's is built using Xcode 12 Beta 2 as a SwiftUI App and uses a TabView to define each page of the app. When I run the app in the simulator I can swipe right to left to move from the first page to the second. Once on the second page however I swiping from to left to right doesn't move back to the first page. Nothing happens. The interface remains stuck on the second page. I am pretty sure this used to work in Xcode Beta 1. I don't have an actual watch device running watchOS 7 to see if this is a simulator only issues. Here's the code that sets up the main App structure for reference.
I have a watchOS 7 app that has multiple pages. It's is built using Xcode 12 Beta 2 as a SwiftUI App and uses a TabView to define each page of the app. When I run the app in the simulator I can swipe right to left to move from the first page to the second. Once on the second page however I swiping from to left to right doesn't move back to the first page. Nothing happens. The interface remains stuck on the second page. I am pretty sure this used to work in Xcode Beta 1. I don't have an actual watch device running watchOS 7 to see if this is a simulator only issues. Here's the code that sets up the main App structure for reference.
Code Block @main struct MyApp: App { @StateObject private var model = Model() @SceneBuilder var body: some Scene { WindowGroup { TabView { PageOneContentView().environmentObject(settingsModel) .tabItem { Image(systemName: "1.square.fill") Text("First") } PageTwoContentView(model: model) .tabItem { Image(systemName: "2.square.fill") Text("Second") } } } WKNotificationScene(controller: NotificationController.self, category: "myCategory") } }