I am looking at ways to store song information and then play a specific song. I've seen this post: How do you use MPMediaItemPropertyPersistentID to play music in iPhone Music Player Framework?
If I have a MPMediaItemPropertyPersistentID
already, can I directly play that song without looping every single song until I find a matching id?
You don't have to do this by looping through all the items in the library. It can be done via MPMediaQuery, something like this: