Instance Property


The activation point for the accessibility element, in screen coordinates.


var accessibilityActivationPoint: CGPoint { get set }


The default value for this property is the midpoint of the accessibility element’s frame, which is given by the accessibilityFrame property. The activation point for an element is the specific area VoiceOver activates when a user double-taps the element.

The ability to specify an activation point allows an element to present to VoiceOver different points in different circumstances without changing how the element presents itself. For example, the standard activation point for a Home screen app icon is the midpoint of the icon. But when the user is rearranging icons on the Home screen, the activation point changes to the midpoint of the remove control (that is, to the circled X in the upper-left corner of the icon).

Use this property to ensure that the activation point for a small element remains accurate even if you present a larger version of the element to VoiceOver.

See Also

Navigating Elements


Provide a set of methods that view subclasses use to make subcomponents accessible as separate elements.

var accessibilityFocusedUIElement: Any?

The deepest descendant of the accessibility hierarchy that has the focus.

var accessibilityFrame: CGRect

The frame of the accessibility element, in screen coordinates.

func accessibilityHitTest(NSPoint) -> Any?

Returns the deepest descendant of the accessibility hierarchy that contains the specified point.

var accessibilityNavigationStyle: UIAccessibilityNavigationStyle

The navigation style to apply to the object and its elements.

enum UIAccessibilityNavigationStyle

Constants that describe how an object’s elements should be navigated by an assistive technology.

var accessibilityPath: UIBezierPath?

The path of the element, in screen coordinates.

static func zoomFocusChanged(zoomType: UIAccessibility.ZoomType, toFrame: CGRect, in: UIView)

Notifies the system that the app’s focus has changed to a new location.

enum UIAccessibility.ZoomType

The types of system zoom that can be in effect.