Using SwiftUI I'm trying to recreate an existing watch app.
The app has multiple pages accessed via the next page segue.
If I have a single WKHostingController the @environment object works as described.
However if I try to access the @environment variable from a View instanitiated with a different WKHostingController I get the following error:
Fatal error: No observable object of type VetUserSettings.Type found.
where VetUserSetting is intially set in the WKHostingController instantiation of the first page.
Retrieving data ...