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.

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.

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.

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.

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.

Relationships

See Also

Retrieving Content Size Category Information

var preferredContentSizeCategory: UIContentSizeCategory

The font sizing option preferred by the user.