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.
Post
Replies
Boosts
Views
Activity
The repro steps are to just put the app to background then bring it back to foreground fast and multiple times. Our implementation cannot work with PIP on iOS 16.