Modifier

Partager via


UITabBarItemPositioning Enum

Definition

An enumeration whose values specify how a UITabBarItem is positioned.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITabBarItemPositioning
type UITabBarItemPositioning = 
Inheritance
UITabBarItemPositioning
Attributes

Fields

Name Value Description
Automatic 0

The item positioning is controlled by the user interface idiom.

Fill 1

The tab bar items are distributed across the width of the tab bar. Default value on iPhone.

Centered 2

The tab bar items are centered in the tab bar. Default on iPad.

Applies to

See also

  • <xref:UIKit.UITabBarItem.ItemPositioning>