Protocol

UIBarPositioningDelegate

The UIBarPositioningDelegate protocol supports the positioning of a bar that conforms to the UIBarPositioning protocol. Navigation bars, toolbars, and search bars all have delegates that support this protocol. The delegate can use the method of this protocol to specify the bar’s position when that bar is moved to a window.

Overview

The UINavigationBarDelegate, UISearchBarDelegate, and UIToolbarDelegate protocols extend this protocol to allow for the positioning of those bars on the screen.

Symbols

Positioning Bars

func position(for: UIBarPositioning)

Asks the delegate for the position of the specified bar in its new window.

Relationships

Inherits From