Post

Replies

Boosts

Views

Activity

Reply to NavigationTitle placement changed in watchOS
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) } }
Jan ’24
Reply to NSInternalInconsistencyException in thread with no app code
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.
Nov ’21