Instance Property


The type of container used for accessibility elements, such as tables or lists.


var accessibilityContainerType: UIAccessibilityContainerType { get set }


The default value is UIAccessibilityContainerTypeNone.

Set this property so that assistive technologies can output information about the contents of containers.

See Also

Providing Information About Accessibility Elements

func accessibilityElementCount() -> Int

Returns the number of accessibility elements in the container.

func accessibilityElement(at: Int) -> Any?

Returns the accessibility element at the specified index.

func index(ofAccessibilityElement: Any) -> Int

Returns the index of the specified accessibility element.

var accessibilityElements: [Any]?

An array of the accessibility elements in the container.

enum UIAccessibilityContainerType

Constants indicating the type of content stored in a data-based container.