示例#1
0
 public override void DidCompleteWithNewPerson(ABNewPersonViewController controller, ABPerson?person)
 {
     controller.OnNewPersonComplete(new ABNewPersonCompleteEventArgs(person));
 }
示例#2
0
 public override void DidCompleteWithNewPerson(ABNewPersonViewController controller, IntPtr person)
 {
     controller.OnNewPersonComplete(
         new ABNewPersonCompleteEventArgs(
             person == IntPtr.Zero ? null : new ABPerson(person, controller.AddressBook)));
 }