Play workout audio prompt when iPhone is locked.

Hi


I'm making a running app and I want to deliver an audio prompt to motivate the runner every few minutes.


How do I go about delivering the audio prompt when the users phone is locked as they run?


I have background audio selected so the currently playing audio contines when the user initially locks their phone. However, how do I deliver the next prompt in say 5 minutes time?


I'm struggling to keep the app alive in the background other than using location services, however the user may not want to share their location so the app fails.


Any suggestions welcome.


Thanks.

Steve

Replies

Good