Structure

AccessibilityTraits

A set of accessibility traits that describe how an element behaves.

Declaration

struct AccessibilityTraits

Topics

Initializers

init<S>(S)

Creates a new set from a finite sequence of items.

init(arrayLiteral: AccessibilityTraits...)

Creates a set containing the elements of the given array literal.

Instance Properties

var isEmpty: Bool

A Boolean value that indicates whether the set has no elements.

Instance Methods

Relationships

Conforms To

See Also

Customizing View Accessibility

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