iOS - Contacts 通讯录
Contacts 通讯录 1、访问通讯录 设置系统访问通讯录权限 1.1 iOS 9.0 及 iOS 9.0 之后获取通讯录的方法 iOS 9.0 及 iOS 9.0 之后获取通讯录的方法 // 包含头文件 #import <Contacts/Contacts.h> #import <ContactsUI/ContactsUI.h> // 获取通讯录信息,自定义方法 - (void)fetchAddressBookOnIOS9AndLater { // 创建 CNContactStore 对象 CNContactStore *contactStore = [[CNContactStore alloc] init]; // 首次访问需用户授权 if ([CNContactStore authorizationStatusForEntityType:CNEntityTypeContacts] == CNAuthorizationStatusNotDetermined) { // 首次访问通讯录 [contactStore requestAccessForEntity...









