The horizontal alignment of content within the control’s bounds.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
A constant that specifies the horizontal alignment of text or images within the control. For a list of possible values, see
.Content Horizontal Alignment
For controls that contain configurable text or image content, use this property to align that content appropriately inside the control’s bounds. Not all control subclasses have content that can be aligned, and it is the responsibility of the subclass to determine how to apply this value. The default value of this property is