Instance Method

accessibilityPerformShowMenu()

Displays this menu element.

Required.

Declaration

func accessibilityPerformShowMenu() -> 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 display the contextual menu for the element.

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

Displays the element’s alternate UI.

Required.

func accessibilityPerformShowDefaultUI() -> Bool

Returns to the element’s original UI.

Required.

func isAccessibilitySelectorAllowed(Selector) -> Bool

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

Required.