The tab bar’s delegate object.
- iOS 2.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
Use the delegate to track the selection of tab bar items and to respond to the user customization of the tab bar. The default value of this property is
For more information on how to implement the methods of this protocol, see
Customizing the Tab Bar Behavior
UITabBarDelegate protocol defines optional methods for a delegate of a
UITabBar object. The
UITabBar class provides the ability for the user to reorder, remove, and add items to the tab bar; this process is referred to as customizing the tab bar. The tab bar delegate receives messages when customizing occurs.
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