Instance Method

accessibilityPerformPress()

Simulates clicking the button.

Required.

Declaration

func accessibilityPerformPress() -> 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

Accessor Methods

func accessibilityLabel() -> String?

Returns a short description of the button.

Required.