Structure

UIContentSizeCategory

Constants indicating the preferred size of your content.

Topics

Type Properties

static let accessibilityMedium: UIContentSizeCategory

A medium font size reflecting the current accessibility settings.

static let accessibilityLarge: UIContentSizeCategory

A large font size reflecting the current accessibility settings.

static let accessibilityExtraLarge: UIContentSizeCategory

An extra large font size reflecting the current accessibility settings.

static let accessibilityExtraExtraLarge: UIContentSizeCategory

An extra extra large font size reflecting the current accessibility settings.

static let accessibilityExtraExtraExtraLarge: UIContentSizeCategory

A really huge font size reflecting the current accessibility settings.

Instance Properties

var isAccessibilityCategory: Bool

A Boolean value indicating whether the content size category is one that is associated with accessibility.

Beta

Operator Functions

static func <(UIContentSizeCategory, UIContentSizeCategory)

Returns a Boolean value indicating whether the left-hand category represents a text size than the text size associated with the right-hand category.

Beta
static func <=(UIContentSizeCategory, UIContentSizeCategory)

Returns a Boolean value indicating whether the left-hand category represents a text size smaller than or equal to the text size associated with the right-hand category.

Beta
static func >(UIContentSizeCategory, UIContentSizeCategory)

Returns a Boolean value indicating whether the left-hand category represents a text size greater than the text size associated with the right-hand category.

Beta
static func >=(UIContentSizeCategory, UIContentSizeCategory)

Returns a Boolean value indicating whether the left-hand category represents a text size greater than or equal to the text size associated with the right-hand category.

Beta

Relationships

See Also

Retrieving Content Size Category Information

var preferredContentSizeCategory: UIContentSizeCategory

The font sizing option preferred by the user.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software