Instance Property インスタンスプロパティ

accessibilityFrame

The frame of the accessibility element in screen coordinates.

Declaration 宣言

var accessibilityFrame: CGRect { get set }

Discussion 解説

The default value for this property is CGRectZero 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.)

See Also 参照

Navigating Elements

Related Documentation 関連文書