Contents

accessibilityFrame

The frame of the accessibility element, in screen coordinates.

Declaration

var accessibilityFrame: CGRect { get set }

Discussion

When you create an accessibility element to represent an element in your application, you must set this property to the CGRect structure that specifies the object’s screen location and size. (Objects that inherit from UIView include this information by default.)

Assigning a new value to this property changes the value of the accessibilityFrameInContainerSpace property to CGRectNull.

See Also

Related Documentation

Accessing the attributes of an accessibility element