Documentation Archive Developer
Search

MediaPlayer Changes

MediaPlayer

MPMediaItemCollection.h
Declaration
From
- (id)initWithItems:(NSArray *)items
To
- (instancetype)initWithItems:(NSArray *)items

MPMediaQuery.h
Declaration
From
- (id)initWithFilterPredicates:(NSSet *)filterPredicates
To
- (instancetype)initWithFilterPredicates:(NSSet *)filterPredicates

MPMoviePlayerController.h
Removed -[MPMoviePlayerController backgroundColor]
Removed -[MPMoviePlayerController movieControlMode]
Removed -[MPMoviePlayerController setBackgroundColor:]
Removed -[MPMoviePlayerController setMovieControlMode:]
Removed MPMoviePlayerContentPreloadDidFinishNotification
Declaration
From
- (id)initWithContentURL:(NSURL *)url
To
- (instancetype)initWithContentURL:(NSURL *)url

MPMoviePlayerViewController.h
Removed -[MPMoviePlayerViewController shouldAutorotate]
Removed -[MPMoviePlayerViewController supportedInterfaceOrientations]
Declaration
From
- (id)initWithContentURL:(NSURL *)contentURL
To
- (instancetype)initWithContentURL:(NSURL *)contentURL

MPMusicPlayerController.h
Deprecation
From--
ToiOS 8.0

MPNowPlayingInfoCenter.h
MPVolumeView.h
Removed -[MPVolumeView sizeThatFits:]