阅读背景:

iOS通过UnitTest访问AddressBook Contacts;如何设置权限?

来源:互联网 

This question pertains to using the iPhone Simulator with Unit Tests. I have written a series of tests that test storing of our data, merged or not merged with data we can access from the user's contacts, depending on whether or not the contact exists. I would like a way to set the permissions such that I can test (A) when the user gives permission to access the contacts and (B) when the user denies access to the contacts. What I would like is a way, This question pertains to using the iPhone Simu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: