Instance Method

accessibilityPerformPress

Simulates clicking the element.

Required.

Declaration

- (BOOL)accessibilityPerformPress;

Return Value

YES if the action was successfully triggered; otherwise, NO. 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 on elements that behave like buttons.

See Also

Confirming and Canceling Operations

- accessibilityPerformCancel

Cancels the current operation.

Required.

- accessibilityPerformConfirm

Simulates pressing Return in the element.

Required.

- accessibilityPerformDecrement

Decrements the element’s value.

Required.

- accessibilityPerformDelete

Deletes the element’s value.

Required.

- accessibilityPerformIncrement

Increments the element’s value.

Required.

- accessibilityPerformPick

Selects the element.

Required.

- accessibilityPerformRaise

Brings this window to the front.

Required.

- accessibilityPerformShowAlternateUI

Displays the element’s alternate UI.

Required.

- accessibilityPerformShowDefaultUI

Returns to the element’s original UI.

Required.

- accessibilityPerformShowMenu

Displays this menu element.

Required.

- isAccessibilitySelectorAllowed:

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

Required.