Is there a notification when iPod library got changed?
-
30-06-2021 - |
Pergunta
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?
Solução
I found it myself. The notification is called MPMediaLibraryDidChangeNotification
and is described in the MPMediaLibrary Class Reference.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow