Protocol

UITab​Bar​Delegate

The UITab​Bar​Delegate protocol defines optional methods for a delegate of a UITab​Bar object. The UITab​Bar 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.

Overview

Send begin​Customizing​Items(_:​) to a UITab​Bar 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.

Symbols

Customizing Tab Bars

func tab​Bar(UITab​Bar, will​Begin​Customizing:​ [UITab​Bar​Item])

Sent to the delegate before the customizing modal view is displayed.

func tab​Bar(UITab​Bar, did​Begin​Customizing:​ [UITab​Bar​Item])

Sent to the delegate after the customizing modal view is displayed.

func tab​Bar(UITab​Bar, will​End​Customizing:​ [UITab​Bar​Item], changed:​ Bool)

Sent to the delegate before the customizing modal view is dismissed.

func tab​Bar(UITab​Bar, did​End​Customizing:​ [UITab​Bar​Item], changed:​ Bool)

Sent to the delegate after the customizing modal view is dismissed.

func tab​Bar(UITab​Bar, did​Select:​ UITab​Bar​Item)

Sent to the delegate when the user selects a tab bar item.

Relationships

Inherits From