MediaPlayer Changes for Objective-C
MediaPlayer
MPContentItem.h
MPMediaItem.h
Added MPMediaItem.dateAdded
Added MPMediaItem.explicitItem
Modified MPMediaItemArtwork.imageCropRect
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified -[MPMediaItemArtwork initWithImage:]
Deprecation | Designated Initializer | |
---|---|---|
From | -- | yes |
To | iOS 10.0 | -- |
MPNowPlayingInfoCenter.h
MPPlayableContentDataSource.h
MPPlayableContentDelegate.h
Modified -[MPPlayableContentDelegate playableContentManager:initializePlaybackQueueWithCompletionHandler:]
Deprecation | |
---|---|
From | -- |
To | iOS 9.3 |
MPPlayableContentManager.h
MPRemoteCommand.h
Declaration | |
---|---|
From | @property(nonatomic, copy) NSArray *preferredIntervals |
To | @property(nonatomic, copy) NSArray<NSNumber *> *preferredIntervals |
MPRemoteCommandCenter.h
MPRemoteCommandEvent.h
MPRemoteControlTypes.h (Added)
Added MPRepeatType
Added MPRepeatTypeAll
Added MPRepeatTypeOff
Added MPRepeatTypeOne
Added MPShuffleType
Added MPShuffleTypeCollections
Added MPShuffleTypeItems
Added MPShuffleTypeOff