I would like to know if there is any way to detect if the iphone music library has changed when my app is not running.
There is a property lastModifiedDate in MPMediaLibrary class which does this but the problem i am facing is that this date changes even if the iPhone is not synced. The date generally changes if the now playing list or current playing list is changed in iPod.
Is there any other way to detect if the iPhone is synced?
You could use the lastModifiedDate and when the application is closed record the status of the playlists and then when the app is opened and the lastModifiedDate has changed: compare the current and previous playlists.