Enumeration

UITextAlignment

Options for aligning text horizontally.

Declaration

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

Topics

Constants

UITextAlignmentLeft

Align text along the left edge.

UITextAlignmentCenter

Align text equally along both sides of the center line.

UITextAlignmentRight

Align text along the right edge.

See Also

Strings

NSStringDrawingContext

An object that manages metrics used when drawing attributed strings.

NSStringDrawingOptions

Constants for the rendering options for a string when it is drawn.

UIBaselineAdjustment

Vertical adjustment options.

UILineBreakMode

Options for wrapping and truncating text.

Deprecated
UITextAttributeFont

Key to the font in a text attributes dictionary.

Deprecated
UITextAttributeTextColor

Key to the text color in a text attributes dictionary.

Deprecated
UITextAttributeTextShadowColor

Key to the text shadow color in a text attributes dictionary.

Deprecated
UITextAttributeTextShadowOffset

Key to the offset used for the text shadow in a text attributes dictionary.

Deprecated