We have a player app where we play only audio and show song info in lock screen. While playing, if we capture a photo in the app and see the lock screen, lock screen info goes away.
AudioSession looks like this:
try AVAudioSession.sharedInstance().setActive(true)
try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback, withOptions: [.AllowBluetooth, .DefaultToSpeaker])
Let me know what am I doing wrong. Audio session is active and set beginReceivingRemoteControlEvents() but still lock screen info doesn’t come.