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

accessibilityPerformMagicTap()

Performs a salient action.

Declaration 宣言

func accessibilityPerformMagicTap() -> Bool

Return Value 戻り値

true if the magic tap action succeeds; otherwise, false. By default, this method returns false.

Discussion 解説

The exact action performed by this method depends your app, typically toggling the most important state of the app. For example, in the Phone app it answers and ends phone calls, in the Music app it plays and pauses playback, in the Clock app it starts and stops a timer, and in the Camera app it takes a picture.

See Also 参照

Performing an Action