John Pollard
John Pollard

Reputation: 3899

How do I override Apple Watch back button to pop to root controller

Im trying to push multiple WKInterfaceControllers

Route: A -> B -> C -> D

I want the controller D to have a back button of A.

How do I override the top left back button of the watch so I can go back to the root controller?

I dont know how to access the button or override the method. All I know is that the code below pops back to the root.

self.popToRootController();

Upvotes: 6

Views: 1662

Answers (2)

Chaudhry Talha
Chaudhry Talha

Reputation: 7868

This is not possible but you can do it with this written under a button IBAction
[self pushControllerWithName:@"D" context:nil];

Upvotes: 0

John Pollard
John Pollard

Reputation: 3899

From everyone I have spoken to, this is not possible at this time.

Upvotes: 2

Related Questions