Is there a notification when iPod library got changed?
-
30-06-2021 - |
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?
Solution
I found it myself. The notification is called MPMediaLibraryDidChangeNotification
and is described in the MPMediaLibrary Class Reference.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow