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.

Author:

Originally credited to Bison. Content is retained as published.

English translation of the Chinese original, translated on . The article body uses automated translation; app descriptions, historical reading notes and video subtitles receive separate editorial checks. Original publication dates, attribution, code and version notes are retained.

"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.

Click here → download the demo

Briefly, the 3 required frameworks are AddressBookUI.framework, AddressBook.framework, and MessageUI.framework.