![](/img/trans.png)
[英]iOS 7 Simulator on Mac doesn't work with custom location (Also doesn't ask permission)
[英]ABAddresBook Permission in iOS 6 Simulator
您知道模拟器上的权限是否有效吗? 我请求访问,但是在Pricacy设置中看不到我的应用程序,而且我确实获得了所有联系人的数组,依此类推。根据我的代码,访问权限已被授予。 这是模拟器问题吗?
iOS6发行说明(请参阅此处 )明确指出,访问照片,联系人,日历和提醒的应用程序不会显示任何隐私警报。
您必须在真实设备上测试隐私。
iOS 6发行说明中引用的模拟器限制:
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.
我不会指望模拟器。 我在模拟器以及询问日历/通讯簿权限方面遇到了问题。 为了安全起见,我建议您针对真实设备进行测试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.