iOS新建联系人崩溃问题



 ABNewPersonViewController *newPersonVC = [[ABNewPersonViewController alloc] init];
    newPersonVC.newPersonViewDelegate = self;

    ABRecordRef newPerson = [AddressBookUtils newPersonName:userName phoneNum:phoneNum label:@""];
    [AddressBookUtils addEmail:email label:@"" toRecordRef:newPerson];
    newPersonVC.displayedPerson = newPerson;

    [self.navigationController pushViewController:newPersonVC animated:YES];

弹出通讯录联系人新建页面,在iOS7上点击打开铃声或震动设置页面,点击返回Crash.


 2014-06-04 09:25:32.644 XXClient[992:60b] -[ABTonePickerController pickerDidCancel:]: unrecognized selector sent to instance 0x15a7cba0

ios addressbook objective-c

shine 10 years, 10 months ago

调用某个方法时出错,注意检查调用方法的拼写。

卧室深夜基情党 answered 10 years, 10 months ago

Your Answer