Search code examples
iosiphonemedia-playermpmediaitemmpmediaitemcollection

Conversion of raw music file from main bundle to MPMediaItem


is there any way I can get reference of MPMediaItem from raw mp3 file bundled in main bundle as a resource?

Thanks in advance.


Solution

  • No, MPMediaItem is a file in the iPod library. It is clearly stated in the documentation:

    A media item represents a single piece of media (such as one song or one video podcast) in the iPod library.