Edit

Share via


UISemanticContentAttribute Enum

Definition

Describes a view's contents so that the app dev can control if it should be flipped between left-to-right and right-to-left layouts.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UISemanticContentAttribute
type UISemanticContentAttribute = 
Inheritance
UISemanticContentAttribute
Attributes

Fields

Name Value Description
Unspecified 0

Indicates a default left-right view that is flipped when necessary.

Playback 1

Indicates a view that contains playback controls, which are not left-right flipped.

Spatial 2

Indicates a view that contains directional controls, which are not left-right flipped.

ForceLeftToRight 3

Forces the contents to be laid out left to right.

ForceRightToLeft 4

Forces the contents to be laid out right to left.

Applies to