Can't Access Contacts Sources on Device in iOS 6

后端 未结 3 1148
遥遥无期
遥遥无期 2021-02-13 10:39

This code worked OK on iOS 5.1 and also does work in the iPhone simulator with iOS 6. It fails silently on my iPhone 4 running iOS 6. The end result is that I cannot add a per

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-13 10:51

    This log message is an indication that your app is not (maybe not yet) allowed to access Contacts. iOS 6 gives users the possibility to deny apps the permission to access the address book.

    The message disappears once the user has allowed your app access to Contacts - either via the pop up dialog, or by going to Settings -> Privacy -> Contacts.

    For more infos on this topic, see WWDC 2012 session 710 "Privacy support in iOS and OS X".

提交回复
热议问题