【发布时间】:2013-02-16 13:59:05
【问题描述】:
我在以编程方式在 iPhone 的新联系人表单中添加字段时遇到困难。
我可以通过查看示例“快速联系”来打开新的联系表单,但是我不知道如何在字段中添加详细信息,这样用户就不必手动添加它们并且用户可以选择仅限完成或取消,但他/她可以更改字段中的字段详细信息。
我正在使用下面的代码来带来新的联系表格。
ABNewPersonViewController *picker = [[ABNewPersonViewController alloc] init];
picker.newPersonViewDelegate = self;
UINavigationController *navigation = [[UINavigationController alloc] initWithRootViewController:picker];
[self presentModalViewController:navigation animated:YES];
[picker release];
[navigation release];
【问题讨论】:
标签: iphone ios abaddressbook