TabView: Page navigation doesn't work

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:

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())
    )
  }
}

Hi,

I have a very similar issue where a certain view in my TabView basically seems to prevent scrolling to other pages. I can scroll onto it from another page, but once there I can't leave. It seems to be related to the actual content of the View embedded in that page. In my case the problem page contains a Form, but it seems its the Section blocks that are causing the problem. (I convert the form to a VStack, still doesn't work but as soon as I remove the Sections it does).
Add to Forms also Pickers seem to not work on a view in TabView set to use pages
TabView: Page navigation doesn't work
 
 
Q