iOS ContactsUI(联系人)
1. 带UI的通讯录 #import "ViewController.h" #import <AddressBookUI/AddressBookUI.h> @interface ViewController ()<ABPeoplePickerNavigationControllerDelegate> @end @implementation ViewController // 触摸显示 - (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event { //1. 创建联系人选择控制器 ABPeoplePickerNavigationController *picker = [ABPeoplePickerNavigationController new]; //2. 设置代理 --> 注意不是 Delegate picker.peoplePickerDelegate = self; //3. 模态视图弹出 [self presentViewController...