Search code examples
watchkitapple-watchwatchos

Detecting 'Cover to Mute' action on Apple Watch


There's a feature on Apple Watch where you can cover the screen with your palm to mute it. For example, if you get a call in a meeting, you can cover your watch screen to mute the ring.

I would like to use this feature in an app, but can't find documentation that tells me how to detect this action.

Does anyone know of how to detect this, or perhaps even how I could simulate this? I know multi-touch is out, and don't know how Apple is detecting the face being covered.


Solution

  • It's currently not possible to detect Cover to Mute or other gestures. Gestures are automatically handled by the system; there is no developer access to raw touch events or gestures in watchOS 2.

    From the Apple Watch Human Interface Guidelines:

    User interactions on Apple Watch generate touch events and gestures, but unlike iOS apps, your Watch apps don’t handle these events directly. The system provides automatic responses for all touch events and gestures ...