Share via


UIBarPosition Enum

Definition

An enumeration whose values specify locations for UISearchBar, UINavigationBar, or UIToolbar.

[ObjCRuntime.Native]
public enum UIBarPosition
[<ObjCRuntime.Native>]
type UIBarPosition = 
Inheritance
UIBarPosition
Attributes

Fields

Name Value Description
Any 0

Specifies that the position is unspecified.

Bottom 1

The bar is at the bottom of its containing UIView.

Top 2

The bar is at the top of its containing UIView.

TopAttached 3

The bar is at the top of the screen, as well as its containing UIView.

Applies to