Reputation: 627
So that only a single contact is passed to the web application with the explicit permission of the user..
Upvotes: 0
Views: 369
Reputation: 7865
hum, in a "pure web app" (that you access from a URL in the mobile safari) I don't think you can. However, you can :
shouldStartLoadWithRequest
will be invoked. Check that the scheme of the URL from the NSURLRequest corresponds to myapp://contacts and based on that, trigger the opening of the ABPeoplePickerNavigationController to enable the selection of a "native" contact.[myWebView stringByEvaluatingJavascriptFromString:myJsFunctionToInjectContactInfo
I'm using this approach and it works fine.
Upvotes: 2