You can achieve this by looking at the Contact framework runtime headers: https://github.com/JaviSoto/iOS10-Runtime-Headers/tree/master/Frameworks/Contacts.framework
You can call them the message performSelector . It is a bit dirty, but it works.
Typically, you need to do the following:
CNContactStore* store = [CNContactStore new];
After that, all about the general use of CNContainers. Hope this helps.
PS. It works on iOS 10, for future versions you should check the Contacts.framework runtime changes.
SFC. I did not check quickly, but should work and.
Sorry for my English. Good luck :)
Newobjective
source share