0 Replies
      Latest reply on Feb 3, 2020 2:57 PM by flarosa
      flarosa Level 1 Level 1 (0 points)

        I'm trying to get the Track ID for a song from an MPMediaItem.


        For example, I have this song in my library:



        The number "1442898899" in this URL is a track ID.


        When I get the MPMediaItem for this track in my app, I can't find that number anywhere. I've examined all of the properties of MPMediaItem. There is one called MPMediaEntityPropertyPersistentID which I thought would contain this value, but it is a different number.


        How do I get the number I need?