The new NavigationSplitView is very handy. I want to use it for a settings screen, but I need a way to navigate in and out of it.
Previously I just navigated in and out of my settings using a NavigationView.
But if I change this to a NavigationStack, and then navigate forward into a NavigationSplitView from it, it almost works fine, but some weirdness happens: on iPhone there are two competing back arrows (i.e "<") and on an iPad there is weird spacing at the top of the screen.
Should I be able to navigate from a NavigationStack into a NavigationSplit View?
If so, are these known issues?
If not, is there a recommended UI for navigating in and out of a NavigationSplitView from the rest of my iPhone/iPad app?
thanks!
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Has anybody managed to get .preferredColorScheme(.dark) working in a watch app in the watchOS 9 beta simulator? It works fine for me on iOS, but doesn't seem to have an effect on the watch.
I'm on the first Xcode 14 beta.
I'm excited to already have a widget/complication running on watchOS using WidgetKit. It's a great framework! Next, I need to get some settings from my iOS app over to the watch to help configure the widget.
Ideally, I'd like the user to be able to change settings on the iOS app, and have them reflected in the watch widget pretty soon after without having to do anything on the watch.
(From early testing, updateApplicationContext is decent because it can still be sent even when the watch app isn't active, but unfortunately it doesn't seem to wake up to process this incoming data until the user manually opens the app on the watch again. But maybe I've missed something.)
Anyway, what's the best way to do this configuration between phone and watch?
Topic:
App & System Services
SubTopic:
General
Tags:
Watch Complications
Watch Connectivity
WidgetKit