Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to trigger a haptic feedback without the accompanying sound on apple Watch OS 2

Assuming the user has not muted their watch sounds. Is it possible for an apple watch app to trigger a haptic feedback (i.e vibrate) without the accompanying sound.

This is different than receiving a notification which is handled automatically by the watch. In this case I'm invoking the haptic feedback using a watch app.

like this: [[WKInterfaceDevice currentDevice] playHaptic:WKHapticTypeClick];

like image 618
Saviz Avatar asked Jan 19 '16 19:01

Saviz


People also ask

How do you make Apple Watch just vibrate with no sound?

Open the Settings app. Scroll down and tap Sounds & Haptics. Turn Haptic Alerts on or off.

Can Apple Watch vibrate on silent?

“Silent mode” means your watch will not chime or beep but will vibrate. All other functions work normally.


1 Answers

There is a hacky way to do so. You can start to play WKAudioFilePlayer right before haptic and there will be no sound:

player.play()
WKInterfaceDevice.current().play(.click)

I suggest you to create a short silent (very low amplitude and high pitch) audio file for this purpose. And remember that this solution can be buggy.

like image 163
kelin Avatar answered Nov 15 '22 20:11

kelin