The frame of the accessibility element, in screen coordinates.
- iOS 3.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The default value for this property is
CGRect unless the receiver is a
UIView object or is a subclass of
UIView, in which case the value is the frame of the view.
You must set this property for an accessibility element that represents an object that is not a subclass of
UIView, because the screen coordinates of such an object are not already known. (You do not have to set this property for an accessibility element that represents a subclass of
UIView, because such an object’s screen coordinates are already known.)