MPMoviePlayerController no longer available?? (ios 13 beta 3 17A5522g)

When playback with MPMoviePlayerController, the following error occurs.


*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'MPMoviePlayerController is no longer available. Use AVPlayerViewController in AVKit.'


Will it be fixed in the formal 13 version?

Replies

It's been deprecated since iOS 9. So highly unlikely it will be available in iOS 13.

https://developer.apple.com/documentation/mediaplayer/mpmovieplayercontroller

There is not much time to change in this 13 version.


Is there a way to get official confirmation from Apple?

Are there any news about this control? Is it going to be completely removed from the latest SDK?

The only "new"s are the advice to use a different API


Important

The

MPMoviePlayerController
class is formally deprecated in iOS 9. (The
MPMoviePlayerViewController
class is also formally deprecated.) To play video content in iOS 9 and later, instead use the
AVPictureInPictureController
or
AVPlayerViewController
class from the AVKit framework, or the
WKWebView
class from WebKit.