iOS7 - ABPersonViewController, editing mode

后端 未结 1 1860
伪装坚强ぢ
伪装坚强ぢ 2021-02-19 15:18

Apple features a nice comprehensive and small example, \"QuickContacts\" (developer.apple.com/library/IOs/samplecode/QuickContacts/Introduction/Intro.html), outlining the basic

相关标签:
1条回答
  • 2021-02-19 15:47

    You can use ABNewPersonViewController instead of ABPersonViewController,bellow is the code :

    ABNewPersonViewController *picker = [[[ABNewPersonViewController alloc] init] autorelease];
    picker.newPersonViewDelegate = self;
    picker.displayedPerson = person;
    picker.navigationItem.title=@"edit contact";
    
    [self.navigationController pushViewController:picker animated:YES];
    
    0 讨论(0)
提交回复
热议问题