PictureInPicture (PiP) not working on Beta 3.

I can't get PiP to work on beta3 on iPad Air 2 simulator.

It used to work on beta1 and beta2.


I updated to XCode7 beta3.


AVFoundationPiPPlayer sample code doesn't work.

The PiP button is never activated. Even if I manually call startPictureInPicture() nothing happens.


BTW, you have to update the signature for observeValueForKeyPath to compile the sample on Xcode7 beta3.

Accepted Reply

Release notes beta 3 say "The

AVPictureInPictureController
interface and the
cancelPictureInPicture
method are deprecated."


AVPlayerViewController Picture in Picture isn't working for me. The PiP button is not active in the player.

Replies

Release notes beta 3 say "The

AVPictureInPictureController
interface and the
cancelPictureInPicture
method are deprecated."


AVPlayerViewController Picture in Picture isn't working for me. The PiP button is not active in the player.

Where does it say that?


I'm lookint at the Beta3 release notes and there is no mention to that http://adcdownload.apple.com/Developer_Tools/Xcode_7_beta_3/Xcode_7_beta_3_Release_Notes.pdf

That is the Xcode release notes, it is in the iOS 9 release notes:

https://developer.apple.com/library/prerelease/ios/releasenotes/General/RN-iOSSDK-9.0/index.html

Thank you.


Kinda of annoying no extra information is provided.


Any idea what the replacement would be then for AVPictureInPictureController?