Instance Property

effectiveContentHorizontalAlignment

The horizontal alignment currently in effect for the control.

Declaration

@property(nonatomic, readonly) UIControlContentHorizontalAlignment effectiveContentHorizontalAlignment;

Discussion

See Also

Configuring the Control’s Attributes

state

The state of the control, specified as a bitmask value.

enabled

A Boolean value indicating whether the control is enabled.

selected

A Boolean value indicating whether the control is in the selected state.

highlighted

A Boolean value indicating whether the control draws a highlight.

contentVerticalAlignment

The vertical alignment of content within the control’s bounds.

UIControlContentVerticalAlignment

Constants for specifying the vertical alignment of content (text and images) in a control.

contentHorizontalAlignment

The horizontal alignment of content within the control’s bounds.

UIControlContentHorizontalAlignment

The horizontal alignment of content (text and images) within a control.