iPhone sdk, save MPMediaItemCollection?
问题 I have my application displaying a MPMediaPickerController . I would like to save the MediaItem and start it playing again on startup. I think this is doable using the MPMediaQuery . It seems, I should be using the MPMediaItemPropertyPersistentID but I am not sure how to query for it. Any thoughts? 回答1: Man, you dont need to save mediaCollection. media collection it is just array of MPMediaItem objects. So you'd better save persistentIds of this items. it's quite easy //it's how to know