Instance Method インスタンスメソッド

accessibilityPerformEscape()

Dismisses a modal view and returns the success or failure of the action.

Declaration 宣言

func accessibilityPerformEscape() -> Bool

Return Value 戻り値

true if the modal view is successfully dismissed; otherwise, false. By default, this method returns false.

Discussion 解説

Implement this method on an element or containing view that can be revealed modally or in a hierarchy. When a VoiceOver user performs a dismiss action, this method dismisses the view. For example, you might implement this method for a popover in order to give users a deliberate dismiss action to perform that closes the popover.

See Also 参照

Performing an Action