Contents

accessibilityFrameInContainerSpace

The frame of the accessibility element, in the coordinate space of its container view.

Declaration

var accessibilityFrameInContainerSpace: CGRect { get set }

Discussion

The default value of this property is CGRectNull. Use this property to set the frame rectangle of an element whose frame rectangle could be affected by its container view. For example, use this property to set the frame rectangle for an element in a scroll view’s content view. Changing the value of this property automatically adjusts the rectangle in the accessibilityFrame property.

See Also

Accessing the attributes of an accessibility element