iOS7 - ABPersonViewController, editing mode

后端 未结 1 1861
伪装坚强ぢ
伪装坚强ぢ 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)
提交回复
热议问题