iphone - How to check if ipod has music files -
i trying have app play music ipod using mpmusicplayercontroller there devices not have music in there ipod library. can tell me if there way check whether there music in ipod library or not before initializing ipod player.
thanks in advance.
if ([[[mpmediaquery songsquery] items] count] > 0) { // user has songs in or library. }
Comments
Post a Comment