Search code examples
ioscocoa-touchurl-scheme

Is there a custom URL scheme for the built-in Contacts app?


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?


Solution

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

    Your options are:

    1. ABNewPersonViewController or ABUnknownPersonViewController
    2. Direct modification of the address book. (archived link)