[TIMOB-8893] iOS: Implement Ti.Media.createItem
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-05-16T09:38:45.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | SupportTeam, api |
Reporter | Federico Casali |
Assignee | Neeraj Gupta |
Created | 2012-04-11T15:54:00.000+0000 |
Updated | 2017-03-09T23:14:04.000+0000 |
Ironically enough, the fact that it got to documentation is a bug. The code itself has:
The reason for this is that TiMediaItem is a wrapper for MPMediaItem, which does not represent playlists but instead the read-only entities such as a song or book that can not be made on the iPhone. The class that we don't wrapper but what is desired for a playlist would be MPMediaItemCollection.
We do not want to expose this functionality at this point so the documentation should be fixed.
This is actually a TIMOB feature request, and a doc bug is already logged, so moving back to TIMOB. Sounds like we're not going to implement it, so it should either be closed or moved to modules.
Per comments, the current implementation is as intended and the doc is wrong. If you need support for playlists, this should be raised as a separate feature request, although it sounds like this is more likely to happen in a module than in core.
Closing ticket as invalid.