开发者

Is it possible to launch the iPhone simulators contacts from another app

I am trying to use the contacts from iPhone simulator's or iPhone contacts in my native app.

For this I searched a lot and found that application:openUrl method can be used but this method is invoked in applicationdidFinishedLaunching method. And I want it to launch the already 开发者_运维技巧exist contacts app in my native app.


What are you wanting the user to do with the Contacts?

The API sample for doing anything with the address book is listed under QuickContacts.

http://developer.apple.com/library/ios/#samplecode/QuickContacts/Introduction/Intro.html

From the README:

This sample also shows how to:

  • Browse a list of Address Book contacts and allow users to choose a contact from that list.
    • Display and edit information associated with a selected contact.
    • Prevent users from performing default actions such as dialing a phone number associated with a selected information.
    • Create a new contact record.
    • Update a partial contact record.
    • Present and dismiss the people picker, person view controller, new-person view controller, and unknown-person view controller.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜