I want the Watch app to keep playing music/vibration when I put my arm down.

I am making an application that plays music and vibrates at regular intervals.

When you put your arm down, the following situation occurs.

  • Music stops (volume goes to 0?)
  • Vibration stops

How can I make it so that it does not stop even if I put my arm down?

Supplementation

  • In the WatchOS settings, "Always on" is enabled.
  • I use AVAudioPlayer for sound playback.
I want the Watch app to keep playing music/vibration when I put my arm down.
 
 
Q