UIBar protocol supports the positioning of a bar that conforms to the
UIBar 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.
- iOS 7.0+
- tvOS 9.0+