Constants to identify the position of a bar.
SDKs
- iOS 7.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
typedef enum UIBarPosition : NSInteger {
...
} UIBarPosition;
Constants to identify the position of a bar.
SDKs
Framework
typedef enum UIBarPosition : NSInteger {
...
} UIBarPosition;
UIBar Position Any
Specifies that the position is unspecified.
UIBar Position Bottom
Specifies that the bar is at the bottom of its containing view.
UIBar Position Top
Specifies that the bar is at the top of its containing view.
UIBar Position Top Attached
Specifies that the bar is at the top of the screen, as well as its containing view.