ios - How Do You Obtain the "Purchase Date" or "Date Added" from MPMediaItems in iPod Library -
as users download new songs ipod music library itunes store, programmatically list songs in table view. possible obtain "date added" or "purchase date" mpmediaitemcollection? see there property keys such play count , last played date. know data exists because can viewed in itunes, not finding it. suggestions on find or how derive it?
as can see in apple documentation mpmediaitem http://developer.apple.com/library/ios/#documentation/mediaplayer/reference/mpmediaitem_classreference/reference/reference.html#//apple_ref/occ/cl/mpmediaitem, access properties through enumeratevaluesforproperties:usingblock:
or valueforproperty:
, there isn't property date added or purchased date informations.
this doesn't mean data isn't stored somewhere (surely is): means cannot access information through public apis, maybe privacy issues.
i don't know anyway if there way obtain information through private api calls, if exists can't use appstore apps because cause rejection during review process.
Comments
Post a Comment