Interface UIBarPositioningDelegate

    • Method Detail

      • positionForBar

        default long positionForBar​(UIBarPositioning bar)
        Implement this method on your manual bar delegate when not managed by a UIKit controller. UINavigationBar and UISearchBar default to UIBarPositionTop, UIToolbar defaults to UIBarPositionBottom. This message will be sent when the bar moves to a window.