Instance Method

accessibilityPerformCancel()

Cancels the current operation.

Required.

Declaration

func accessibilityPerformCancel() -> 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.

See Also

Confirming and Canceling Operations

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 accessibilityPerformShowAlternateUI() -> Bool

Displays the element’s alternate UI.

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.