Type Method


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


+ (void)reloadRootPageControllersWithNames:(NSArray<NSString *> *)names contexts:(NSArray *)contexts orientation:(WKPageOrientation)orientation pageIndex:(NSInteger)pageIndex;



An array of NSString objects, each of which contains the identifier of an interface controller in your storyboard file. The order of the identifiers in the array defines the order of the corresponding interface controllers in the page-based interface.


An array of objects of type id. Use this parameter to pass context objects to each of the interface controllers loaded into the page-based interface. The first object in the array is passed to the first interface controller, the second object is passed to the second interface controller, and so on.


The scrolling orientation for the page-based interface. For a list of valid values, see WKPageOrientation.


Call this method to create or modify your app’s page-based interface:

  • At launch time. Use this method to customize the set of pages you want displayed, and to set the scrolling orientation.

  • At runtime. Use this method to change the active set of pages or the orientation, adding or removing pages as needed.

See Also

Navigating a Page-Based Interface


Scrolling orientations for page-based interfaces.

- becomeCurrentPage

Displays the interface controller in the page-based interface.