Instance Property

accessibilityFrame

The frame of the accessibility element, in screen coordinates.

Declaration

@property(nonatomic, assign) CGRect accessibilityFrame;

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

Accessing the Attributes of an Accessibility Element

accessibilityLabel

A string that succinctly identifies the accessibility element.

accessibilityHint

A string that briefly describes the result of performing an action on the accessibility element.

accessibilityValue

A string that represents the current value of the accessibility element.

accessibilityFrameInContainerSpace

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

accessibilityTraits

The combination of traits that best characterize the accessibility element.