内置联系人应用程序是否有自定义网址方案? [英] Is there a custom URL scheme for the built-in Contacts app?

查看:89
本文介绍了内置联系人应用程序是否有自定义网址方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想写一个应用程式来搜寻我的公司。当它返回一个结果,我想包括一个功能,添加到联系人应用程序的人按下一个按钮。

I am trying to write an app that does a person search of my company. When it returns a result, I want to include a feature to add the person to the Contacts app with the push of a button.

问题是,我找不到通过自定义网址方案启动联系人应用程序的方式,并使用新的人员信息作为参数。有谁有任何想法,如果这是可能的,如果是这样,怎么去?

The problem is, I can't find a way to launch the Contacts app through a custom URL scheme with the new person info as parameters. Does anyone have any idea if this is possible and if so, how to go about that?

推荐答案

如果有公共网址方案,Apple会将其记录在网址计划参考

If there were a public URL scheme, Apple would have documented it in the URL Scheme Reference.

您的选项为:


  1. ABNewPersonViewController ABUnknownPersonViewController

  2. 直接修改通讯录

  1. ABNewPersonViewController or ABUnknownPersonViewController
  2. Direct modification of the address book.

这篇关于内置联系人应用程序是否有自定义网址方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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