如何在iPhone上以编程方式启动Contacts.app [英] How can I programmatically launch Contacts.app on the iPhone

查看:110
本文介绍了如何在iPhone上以编程方式启动Contacts.app的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在用户需要添加联系人时启动Contacts.app。我的应用已经从联系API中读取。如果我可以避免它,我宁愿不重新实现功能。我的目标是iOS 4.0及更高版本。

I would like to launch the Contacts.app when the user needs to add a contact. My app already reads from the contact API. I would rather not re-implement functionality if I can avoid it. I am targeting iOS 4.0 and above.

推荐答案

如果您想添加联系人,请使用 ABNewPersonViewController 。请参阅使用UI控制器进行交互有关此内容和其他AB UIViewControllers的完整详细信息。

If you want to add a contact, use ABNewPersonViewController. See Interacting Using UI Controllers for full details on this and the other AB UIViewControllers.

这篇关于如何在iPhone上以编程方式启动Contacts.app的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆