I'm using AVPictureInPictureController.isPictureInPictureSupported() to detect PiP feature is supported on the device. It's working on iPadOS 13 and 14.
As we know that, iOS 14 is supporting PiP on iPhone. I'm using the same code but it returns false.
And I try AVPictureInPictureController(playerLayer: playerLayer).isPictureInPicturePossible, it returns nil.
I tested it on iOS 14 beta 1 and beta 2, iPhone X on simulator, it still the same.
I also see that the PiP button is also not shown on Safari HTML5 video playback.
How to make it work on iOS 14? Or how to enable for it?
As we know that, iOS 14 is supporting PiP on iPhone. I'm using the same code but it returns false.
And I try AVPictureInPictureController(playerLayer: playerLayer).isPictureInPicturePossible, it returns nil.
I tested it on iOS 14 beta 1 and beta 2, iPhone X on simulator, it still the same.
I also see that the PiP button is also not shown on Safari HTML5 video playback.
How to make it work on iOS 14? Or how to enable for it?