I didn't find any solution so far.
I am trying to link to the "Contacts" app from apple.
For example I have a Firstname and a Lastname and maybe a phone number is it than possible to show with this information the matching "contact card" in contacts? So my app should open the Contacts app and show the "contact card" from this person where I have the First- and Lastname in my app. Thanks for help!
NO, there is no URL Scheme top open the contacts app.
You can use the SDK to directly interacte with the contact on the users device.
Have a at the AddressBook API documentation.
You can use AddressBook framework if it suits your need.
Related
I tried to figure out the correct link to my app in the Apple AppStore but I found many different answers...
I just want to provide a link on my website which directly leads to the app in the AppStore of the region the user is in. So users from Germany should see the app in the German store and users from the US should see the app in the American store.
Some links, for example on Apples "Market with the App Store" website use the "us" or "de" country region shortcut. Do I have to change this for every country or is there a link which just leads to the correct AppStore which is selected in the settings of the iPhone?
Thanks!
Is there a URL to open the contacts application from within my application? I know you can achieve this with the settings app by using the UIApplicationOpenSettingsURLString constant in Swift; however, I wasn't sure if I could do the same with the Contacts app.
There isn't a deep link for opening the Contacts App.
Apple is very picky when it comes to deep-linking. They have to provide one for Settings since many apps need services like Data, Location, Bluetooth, Wifi, etc.
Unfortunately they do not extend this to the Contacts App.
However if your app needs contact information then for that Apple has provided a Contacts framework to browse through your contacts within your app itself.
Read more about it here.
In order to add/update/delete/merge contacts directly from your app without using the Apple's Contact UI, use the CNSaveRequest APIs. More on that here.
The closest thing you can get to opening a contact is to write them a message in IMessage. From this screen the user can press the contact icon and open the contact page for that particular contact.
You can do this by opening the url sms://+44776382223 where the number is the number of the person that you would like to view the contact of.
I am new to iphone world i want to ask a question:
There is a contact button in my IOS app, all what i want to do is when user tap on that button it opens up my phone contacts , i chose any of the email of my friend from that contacts and then i send email to that address..
I want to achieve this functionality.
I have done its vice versa using messageUI framework. At their when you tap on email a + button appears and when you click on it a contact page open you chose the email address from there. I actually want this functionality on my contact button.
When i tap contacts my phone contacts load i select a contact from there and send email to it. I dont know how to do this in iphone.
Have you looked at some apple documentation like this? Also would help if you posted sample code.
I am wondering if there is some way to create and send VCards based upon the iPhone Address Book information from my own app. On the Mac, there is some easy function in the built in app to do this, but I have not seen something on the iPhone like this. So, is there some framework or otherwise that enables me to turn contacts on the iPhone into VCards?
Thanks for any help!
There is a "share contact" button at the bottom of every contact in the contacts app on the phone, press it and you can email a VCard to whoever you want.
I'm working on a app with Facebook integration.
When I list Facebook contacts, I would like to use the same 'Sort Order' and 'Display Order' as in the Contacts app on the device. The way contacts are displayed on the default Contacts app, can be adjusted in the Settings app.
My question is, do you know if I can access those settings in order to have my Facebook contacts list displayed exactly as the Contacts app?
Thanks.
Part of this question (Sort Order) has been answered already - Retrieve iPhone Address Book sorting preference programmatically?
As for display order, use ABPersonGetCompositeNameFormat, also from ABPerson