Protocol: UITabBarDelegate
Overview
The 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. Sent to the delegate after the customizing modal view is displayed.Sent to the delegate after the customizing modal view is dismissed. Sent to the delegate when the user selects a tab bar item. (required)Sent to the delegate before the customizing modal view is displayed. Sent to the delegate before the customizing modal view is dismissed.
Instance Method Summary (collapse)
-
- tabBar:didBeginCustomizingItems:
Sent to the delegate after the customizing modal view is displayed.
-
- tabBar:didEndCustomizingItems:changed:
Sent to the delegate after the customizing modal view is dismissed.
-
- tabBar:didSelectItem:
Sent to the delegate when the user selects a tab bar item.
-
- tabBar:willBeginCustomizingItems:
Sent to the delegate before the customizing modal view is displayed.
-
- tabBar:willEndCustomizingItems:changed:
Sent to the delegate before the customizing modal view is dismissed.
Instance Method Details
- (Object) tabBar(tabBar, didBeginCustomizingItems:items)
Sent to the delegate after the customizing modal view is displayed.
- (Object) tabBar(tabBar, didEndCustomizingItems:items, changed:changed)
Sent to the delegate after the customizing modal view is dismissed.
- (Object) tabBar(tabBar, didSelectItem:item)
Sent to the delegate when the user selects a tab bar item. (required)
- (Object) tabBar(tabBar, willBeginCustomizingItems:items)
Sent to the delegate before the customizing modal view is displayed. Use the beginCustomizingItems: method of UITabBar to display the customizing modal view and begin the customizing mode.
- (Object) tabBar(tabBar, willEndCustomizingItems:items, changed:changed)
Sent to the delegate before the customizing modal view is dismissed.