Hello SwiftUI friends, any ideas what may be happening here? I can’t move past the first view. PageView navigation doesn’t work.Here’s what I’ve tried so far:1. Create a fresh project and test page nav (it worked)
2. Create a fresh project and test the same setup as my project (it worked)
3. Tried removing 1 view at a time to see if a specific view is problematic but no luck with that as well.
Any thoughts?
Here's my hosting controller code:
2. Create a fresh project and test the same setup as my project (it worked)
3. Tried removing 1 view at a time to see if a specific view is problematic but no luck with that as well.
Any thoughts?
Here's my hosting controller code:
Code Block swift import WatchKit import Foundation import SwiftUI class HostingController: WKHostingController<AnyView> { var meditation = MeditationController() override var body: AnyView { return AnyView( TabView { ActivityView() DurationView() .environmentObject(meditation) ListOfSessionsView() SettingsView() } .tabViewStyle(PageTabViewStyle()) ) } }