Enumeration

UISemanticContentAttribute

A semantic description of the view’s contents, used to determine whether the view should be flipped when switching between left-to-right and right-to-left layouts.

Declaration

typedef enum UISemanticContentAttribute : NSInteger {
    ...
} UISemanticContentAttribute;

Topics

Constants

UISemanticContentAttributeUnspecified

The default value for views. The view is flipped when switching between left-to-right and right-to-left layouts.

UISemanticContentAttributePlayback

A view representing the playback controls, such as Play, Rewind, or Fast Forward buttons or playhead scrubbers. These views are not flipped when switching between left-to-right and right-to-left layouts.

UISemanticContentAttributeSpatial

A view representing a directional control, such as a segment control for text alignment, or a D-pad control for a game. These views are not flipped when switching between left-to-right and right-to-left layouts.

UISemanticContentAttributeForceLeftToRight

A view that is always displayed using a left-to-right layout.

UISemanticContentAttributeForceRightToLeft

A view that is always displayed using a right-to-left layout.