AVPlayerViewController has the functionality to keep playing the audio when the app is backgrounded or the device is locked.
Obviously picture in picture improves this when the app is backgrounded but we lose the functionality when the device is locked as it stops the audio. The user can hit play on the lock-screen to continue playing but doesn't seem to be ideal.
Is there any way around this or is the expected behaviour?
Obviously picture in picture improves this when the app is backgrounded but we lose the functionality when the device is locked as it stops the audio. The user can hit play on the lock-screen to continue playing but doesn't seem to be ideal.
Is there any way around this or is the expected behaviour?