Thanks - I switched to a WidgetKit implementation and got it working pretty quickly. Only about 10% of my Apple Watch users are still on watchOS 8.5, so I decided it would be okay if that small (and shrinking) group didn't get a complication.
Post
Replies
Boosts
Views
Activity
Is there an approved way to get a page title in the upper left area of the display? I tried putting text in a toolbar, but the text briefly appears and then goes away.
Inside my TabView, I have...
SettingsView(showFinish: true)
.tag(Tab.settings)
.toolbar {
ToolbarItemGroup(placement: .topBarLeading) {
Text("Settings")
.font(.subheadline)
}
}
Thanks for the tip. That's exactly what I'm doing, and I just found the documentation that warns against this.
On this page, it says:
A navigation controller automatically assigns itself as the delegate of
its navigation bar object. Therefore, when using a navigation
controller, don’t assign a custom delegate object to the corresponding
navigation bar.
There are places where I need to pop multiple levels off the nav bar stack, so I was pointing the delegate at my view controller and implementing shouldPopItem to add an extra "pop" where needed. I'll have to figure out a different way to achieve this.
In my case, I found that passing in the *parent* of the view controller I had been using previously solved the problem.
I'm running into the same issue. Did you find a solution?