I’m making a meditation timer with two short audio files. One audio file (4 minutes) starts the meditation session. The 2nd audio file (4.5 minutes) ends the meditation session.
I’m using a timer.performWithDelay for the silent meditation time which triggers a function to the play the 2nd audio file.
Using the Simulator, it works great. But using the actual iPad, how to continue the timer when the iPad falls asleep?