MPMediaPlaylist doesn't support removing or reordering items

Originator:rob
Number:rdar://29314482 Date Originated:17-Nov-2016 10:53 AM
Status:Open Resolved:
Product:iOS SDK Product Version:10.1.1
Classification:Enhancement Reproducible:Always
 
Summary:
It is possible for an application to create a MPMediaPlaylist using `getPlaylist(with:creationMetadata:completionHandler:)` and to add items to the playlist but it's not possible to remove or reorder existing items.

The ability to remove and reorder existing items would be very useful for applications that help users construct playlists (e.g. our applications: WeddingDJ and PartyMonster).

Steps to Reproduce:
1. Fetch a playlist using `MPMediaLibrary.default().getPlaylist(...)`
2. Attempt to modify the returned playlist

Expected Results:
An API should be available for removing & reordering items in a MPMediaPlaylist.

Actual Results:
No API exists.

Regression:
No API exists as of iOS 10.1.1

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!