Post

Replies

Boosts

Views

Activity

Reply to iOS 14 Play audio from video in background
I've just got the same isue. And you posted the question before me :) Disconnecting player by 'AVPlayerLayer.player = nil' won't catch when appDidEnterBackGround, but it will be catch when appWillResignActive. The problem is: when player is playing, user push locked button, phone goes directly to backgroundMode, and app 'AVPlayerLayer.player = nil'. So the player is paused. User have to click play button at lockedScreen to continue playing in background mode. I don't know when Apple fix this
Sep ’20