Contents

delegate

The tab bar controller’s delegate object.

Declaration

weak var delegate: (any 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