iOS Developer Library — Prerelease

Developer

UIKit Framework Reference UITabBarDelegate Protocol Reference

Options
Deployment Target:

On This Page
Language:

UITabBarDelegate

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.

Send beginCustomizingItems: to a UITabBar object to begin customizing. Implement the methods in Customizing Tab Bars to intervene while a user is customizing a tab bar. The customizing modal view is dismissed when the user taps the Done button on the modal view.