ABAddresBook Permission in iOS 6 Simulator

白昼怎懂夜的黑 提交于 2019-12-06 13:24:24

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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!