Instance Property

customizableViewControllers

The subset of view controllers managed by this tab bar controller that can be customized.

Declaration

@property(nonatomic, copy) NSArray<__kindof UIViewController *> *customizableViewControllers;

Discussion

This property controls which items in the tab bar can be rearranged by the user. When the user taps the More item on the tab bar view, a custom interface appears displaying any items that did not fit on the main tab bar. This interface also contains an Edit button that allows the user to rearrange the items. Only the items whose associated view controllers are in this array can be rearranged from this interface. If the array is empty or the value of this property is nil, the tab bar does not allow any items to be rearranged.

Changing the value of the viewControllers property (either directly or using the setViewControllers:animated: method) also changes the value of this property. When first assigned to the tab bar controller, all view controllers are customizable by default.

See Also

Managing the View Controllers

viewControllers

An array of the root view controllers displayed by the tab bar interface.

- setViewControllers:animated:

Sets the root view controllers of the tab bar controller.

moreNavigationController

The view controller that manages the More navigation interface.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software