Question

If I wanted to get access to the metadata on the music stored in a user's iTunes library via MPMediaQuery, would that require the user to give their permission, in a similar way apps request access to Photos, Contacts, etc.?

I've never seen an app ask for access to my iTunes library, but I'm wondering whether that's because it's implicit, or it's impossible. I'd perhaps like to do some scanning and make some assumptions about the user's musical taste based on the information, preferably without them knowing or needing to consent to it.

Was it helpful?

Solution

Accessing the song list does not require a permission (iOS6 and iOS7).

According to Apple (link for iOS6), Data Privacy section,

In addition to location data, the system now asks the user’s permission before allowing third-party apps to access certain user data, including: Contacts, Calendars, Reminders, Photo Library.

This policy has not changed for the newly-released iOS7:

iOS is designed to put your privacy first. For example, if an app wants your location information or data from Calendar, Contacts, Reminders, or Photos, it needs your permission first.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top