Instance Method

popToRootController

Pops all interface controllers except the app’s initial interface controller.

Declaration

- (void)popToRootController;

Discussion

Use this method to return your interface to its initial configuration. You might do this so that you can reset your navigation hierarchy to its initial state before pushing one or more different interface controllers onto the navigation stack.

Always call this method from your WatchKit extension’s main thread.

See Also

Implementing a Navigation Interface

- pushControllerWithName:context:

Pushes a new interface controller onto the screen.

- popController

Pops the current interface controller from the screen.