Instance Method

accessibilityPerformShowAlternateUI()

Displays the element’s alternate UI.

Required.

Declaration

func accessibilityPerformShowAlternateUI() -> Bool

Return Value

true if the action was successfully triggered; otherwise, false. This method does not indicate the success or failure of the action, just the fact that the action was successfully triggered.

Discussion

Use this method to trigger changes to the UI due to a mouse-hover or similar event.

See Also

Confirming and Canceling Operations

func accessibilityPerformCancel() -> Bool

Cancels the current operation.

Required.

func accessibilityPerformConfirm() -> Bool

Simulates pressing Return in the element.

Required.

func accessibilityPerformDecrement() -> Bool

Decrements the element’s value.

Required.

func accessibilityPerformDelete() -> Bool

Deletes the element’s value.

Required.

func accessibilityPerformIncrement() -> Bool

Increments the element’s value.

Required.

func accessibilityPerformPick() -> Bool

Selects the element.

Required.

func accessibilityPerformPress() -> Bool

Simulates clicking the element.

Required.

func accessibilityPerformRaise() -> Bool

Brings this window to the front.

Required.

func accessibilityPerformShowDefaultUI() -> Bool

Returns to the element’s original UI.

Required.

func accessibilityPerformShowMenu() -> Bool

Displays this menu element.

Required.

func isAccessibilitySelectorAllowed(Selector) -> Bool

Indicates whether the provided selector can be invoked on the element.

Required.