Upravit

Sdílet prostřednictvím


UIBarPosition Enum

Definition

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

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIBarPosition
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