When my SwiftUI based watch app responds to an WKSnapshotRefreshBackgroundTask, how do I change the navigation stack? Before using SwiftUI we'd just do this:
And now I'd have the screen I wanted. Not sure how to accomplish that same thing with SwiftUI
Code Block swift if let root = WKExtension().shared.rootInterfaceController { root.pushController(withName: "Controller1", context: nil) root.pushController(withName: "Controller2", context: nil) }
And now I'd have the screen I wanted. Not sure how to accomplish that same thing with SwiftUI