John Lane
John Lane

Reputation: 1132

ABAddresBook Permission in iOS 6 Simulator

Do you know if permissions are working on the simulator? I request access, but can't see my application in Pricacy settings, also I do get back an array of all the contacts, etc. And according to my code access has been already granted. Is this a simulator issue?

Upvotes: 2

Views: 633

Answers (2)

Robotic Cat
Robotic Cat

Reputation: 5891

The iOS6 release notes (see here) clearly state that no privacy alerts are displayed for apps that access Photos, Contacts, Calendar, and Reminders.

You must test privacy on a real device.

Simulator limitations quoted from the iOS 6 release notes:

Simulator
* No privacy alerts are displayed in iOS Simulator for apps that access Photos, Contacts, Calendar, and Reminders.
* For this release, iOS Simulator does not support testing In-App Purchase. Please use a device to test your apps that use this feature.
* When attempting to play an MP3 sound in Simulator, you will hear a popping sound instead.

Upvotes: 4

Peter Warbo
Peter Warbo

Reputation: 11710

I wouldn't count on the simulator. I have myself experienced issues with the simulator and in regards with asking Calendar/Addressbook permissions. To be on the safe side I would recommend that you test against a real device.

Upvotes: 1

Related Questions