Contents

delegate

The tab bar’s delegate object.

Declaration

weak var delegate: (any UITabBarDelegate)? { get set }

Discussion

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 nil.

For more information on how to implement the methods of this protocol, see UITabBarDelegate.

See Also

Customizing the tab bar behavior