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?
URL Schemes are an advanced configuration option used to define a non-standard link format that will only open in your app and not the device browser e.g. youruniquestring://yoursite.com/path This functionality is helpful in authentication redirect flows or for a more seamless user experience.
If there were a public URL scheme, Apple would have documented it in the URL Scheme Reference.
Your options are:
ABNewPersonViewController
or ABUnknownPersonViewController
There is a URL scheme for the Contacts app on the Mac – the addressbook
scheme. You might want to try whether this works on iOS as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With