MediaPlayer Changes
MediaPlayer
MPMediaEntity.h
MPMediaItem.h
Added MPMediaItem.albumArtist
Added MPMediaItem.albumTitle
Added MPMediaItem.artist
Added MPMediaItem.artwork
Added MPMediaItem.assetURL
Added MPMediaItem.bookmarkTime
Added MPMediaItem.cloudItem
Added MPMediaItem.comments
Added MPMediaItem.compilation
Added MPMediaItem.composer
Added MPMediaItem.discCount
Added MPMediaItem.discNumber
Added MPMediaItem.genre
Added MPMediaItem.lyrics
Added MPMediaItem.mediaType
Added MPMediaItem.persistentID
Added MPMediaItem.playCount
Added MPMediaItem.podcastTitle
Added MPMediaItem.rating
Added MPMediaItem.releaseDate
Added MPMediaItem.skipCount
Added MPMediaItem.title
Added MPMediaItem.userGrouping
Modified -[MPMediaItemArtwork initWithImage:]
Declaration | |
---|---|
From | - (id)initWithImage:(UIImage *)image |
To | - (instancetype)initWithImage:(UIImage *)image |
Modified MPMediaItemPropertyPersistentID
Introduction | |
---|---|
From | iOS 3.0 |
To | iOS 4.2 |
MPMediaItemCollection.h
Declaration | |
---|---|
From | - (id)initWithItems:(NSArray *)items |
To | - (instancetype)initWithItems:(NSArray *)items |
MPMediaPickerController.h
Removed -[MPMediaPickerController init]
Optional | |
---|---|
From | -- |
To | yes |
Optional | |
---|---|
From | -- |
To | yes |
MPMediaPlaylist.h
Added MPMediaPlaylist.name
MPMediaQuery.h
Removed -[MPMediaQuery init]
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 MPMovieControlMode
Removed MPMovieControlModeDefault
Removed MPMovieControlModeHidden
Removed MPMovieControlModeVolumeOnly
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
MPNowPlayingInfoCenter.h
MPPlayableContentDataSource.h
Optional | |
---|---|
From | -- |
To | yes |
Optional | |
---|---|
From | -- |
To | yes |
MPPlayableContentDelegate.h
Optional | |
---|---|
From | -- |
To | yes |
MPVolumeView.h
Removed -[MPVolumeView sizeThatFits:]