Post

Replies

Boosts

Views

Activity

Set title of navigation bar back button in watchOS 7 SwiftUI
In watchOS, the navigation bar back button has default title of "Cancel". Is there a way to set that title to a different value, for example "Done", in watchOS 7 with SwiftUI? In watchOS 6, the title could be changed using .navigationBarTitle modifier, and the button would still be active. In watchOS 7, changing the title with the .navigationTitle modifier effectively removes the back button.
1
0
1k
Nov ’20