iOS Question Contact Class deprecated with IOS 10 ?

Pascal34

Member
Licensed User
Longtime User
It seem that enabling to access contacts infos are deprecated with IOS 10.
Someone have already tested the contact picker ? (IOS 10 only)
 

Pascal34

Member
Licensed User
Longtime User
Sorry, i mean contact but i use addressbooks, and some are used in the mContacts object that i was using previously.

ABAddressBookGetAuthorizationStatus : https://developer.apple.com/reference/addressbook/1622002-abaddressbookgetauthorizationsta
ABAddressBookCreateWithOptions : https://developer.apple.com/reference/addressbook/1621991-abaddressbookcreatewithoptions
ABAddressBookCopyArrayOfAllGroups : https://developer.apple.com/reference/addressbook/1616131-abaddressbookcopyarrayofallgroup
All are tagged deprecated.. and it seems it kills my app.

On a IOS 9.3.5 all of these functions runs fine.
With XCode IOS 10 Simulator these functions are now shutting down the app.
No idea if this is true on REAL DEVICE or only with the simulator.

Any idea ? advise ?
 
Upvote 0

Pascal34

Member
Licensed User
Longtime User
Thanks a lot for your fast anwers.

It looks OK concerning contacts cards.
What about the "groups" ? i read "Groups are currently not implemented" in the february posts.
Any suggestion ? i can live with C/C++/ObjectiveC but i'm lost in the Apple decorative docs.
 
Upvote 0

Pascal34

Member
Licensed User
Longtime User
Your iContactsUtils sample allow me to validate that my XCODE IOS 10 simulator have a bug with CNContactStore... so THANKS A LOT you save hours ! :)
(it runs well with the 9.3 Simulator as well with my phone)
 
Upvote 0
Top