Vijayeta
Vijayeta

Reputation: 5655

How to access emails from contacts app in your application?

I need to send emails to a list of IDs from the contact application, from my application. Is there a way to access the contacts?

Upvotes: 1

Views: 424

Answers (2)

Vijayeta
Vijayeta

Reputation: 5655

hi thanx for the link , the example says to add the AddressBook.framework and AddressBookUI.framework frameworks , though i added the AddressBook.framework , AddressBookUI.framework is not available in the framwork folder .. i tried searching it in /Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/Frameworks/AddressBookUI.framework , but the platform folder is also empty ...

Upvotes: 0

andynormancx
andynormancx

Reputation: 13762

There is example code for doing basically this here. The example is accessing the phone numbers rather than the email addresses.

Where the example is using kABPersonPhoneProperty you will want to be using kABPersonEmailProperty instead.

Upvotes: 1

Related Questions