Question

I want to cache my custom item picker for music from the iPod library, but I need to know when to refresh it (like after a iTunes sync or when the user purchased a new item through the iTunes store).

Is there any notification I can receive to handle a change of the music library?

Était-ce utile?

La solution

I found it myself. The notification is called MPMediaLibraryDidChangeNotification and is described in the MPMediaLibrary Class Reference.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top