Post

Replies

Boosts

Views

Activity

Comment on Crash on [AVPlayer _addLayer] in iOS 16 caused by Pegasus
I have managed to reproduce the issue. I was setting de AVPlayer of the AVPlayerViewController to nil on appDidEnterBackground and setting it back on appWillEnterForeground which was conflicting with the PIP stuff of the player when the app was going to background. A broken PIP view is displayed on iOS 16. I have disabled PIP with allowsPictureInPicturePlayback on the AVPlayerViewController as I am not interested in it and the issue is fixed now.
Jan ’23