I want to hide the back button from my Apple Watch app from the status bar.
I used the programmable segue to navigate. But I want to to hide/disable the back button. Is it possible?
Open Control Center: From the watch face, swipe up. From other screens, touch and hold the bottom of the screen, then swipe up. Note: You can't open Control Center from the Home Screen on your Apple Watch.
Use the Activity app on your Apple Watch - Apple Support (AL)
This is how you do it:
WKInterfaceController.reloadRootControllersWithNames(
["myInterfaceController"], contexts: []
)
Where myInterfaceController is the identifier of the destination Interface Controller.
Thanks to Harvant for the pointer.
If you check the docs for WKInterfaceController, you'll see there's no API to accomplish what you're looking for: https://developer.apple.com/library/prerelease/ios/documentation/WatchKit/Reference/WKInterfaceController_class/
The best you can do is change the text of the title/button or adjust the tint color.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With