Instance Property

delegate

The tab bar controller’s delegate object.

Declaration

weak var delegate: UITabBarControllerDelegate? { get set }

Discussion

You can use the delegate object to track changes to the items in the tab bar and to monitor the selection of tabs. The delegate object you provide should conform to the UITabBarControllerDelegate protocol. The default value for this property is nil.

See Also

Customizing the Tab Bar Behavior

protocol UITabBarControllerDelegate

A set of methods you implement to customize the behavior of a tab bar.