![](/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.