Data & networkingHistorical technical note
Reading iOS contacts and sending SMS invitations
Introduces a small wrapper for a friend-invitation workflow: reading device contacts and opening the SMS composer. It lists the AddressBook, AddressBookUI and MessageUI dependencies and provides the LBContacts example project.
Originally credited to Bison. Content is retained as published.
On this page
"The beginning is the most important part of the work." Plato
I recently built an invite-a-friend feature that reads the phone's contacts and sends invitations by text message. I made a simple wrapper; take a look if you need it.
Briefly, the 3 required frameworks are AddressBookUI.framework, AddressBook.framework, and MessageUI.framework.