I am using AVPlayerLayer and AVQueuePlayer to play videos. I assigned AVPlayerLayer to AVPictureInPictureController to support PIP. If I am playing 4 videos then after ending of the 4th video AVPictureInPictureController is disappearing.
I do not want this disappearing behaviour of the AVPictureInPictureController, after end of the videos PIP should stay on the screen.