I am currently trying to categorise a users music collection and the ability to get the users most played songs/artists would greatly improve the user experience in the app. Is it possible to get the play count? and how would I go about doing it
Share
MPMediaItem has the method:
This method return the media property key that you want the corresponding value of. And one of the possibles values is MPMediaItemPropertyPlayCount:
You can check the doc here and here.