Instance Method

becomeCurrentPage

Displays the interface controller in the page-based interface.

Declaration

- (void)becomeCurrentPage;

Discussion

Use this method to make the current interface controller become the current page of a page-based interface. The current interface controller must be installed in the page-based interface. After calling this method, WatchKit animates the interface controller into view.

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

See Also

Navigating a Page-Based Interface

+ reloadRootPageControllersWithNames:contexts:orientation:pageIndex:

Loads the specified interface controllers and rebuilds the app’s page-based interface for the given scrolling orientation.

WKPageOrientation

Scrolling orientations for page-based interfaces.