• Articles
  • Tutorials
  • Interview Questions

iOS Address Book

Address Book Tutorial in iOS

On an iOS device, the Contacts application permits users to add to, remove from and manipulate their address book. The address book is a collection of people and groups. Every person can have properties like as first name, last name, phone number and email address. Some properties can have a single value and some can have multiple values. For instance the first name of a person is one value but the phone number can be multiple values.

become an ios developer

The AddressBook.framework framework in the iOS SDK permits us to interact with the address book database on the device. You can get the array of all entities in the user’s address book, insert and change values and much more.

To use the address-book associated functions in your application use following steps:

  1. Find your current target in Xcode.
  2. Right click on your target and select Add→Existing Frameworks.
  3. From the list select AddressBook.framework
  4. Click Add.

When you want to use address book associated functions you have to include the main header file of the framework in your header .h or implementation file .m like as follows:

#import <UIKit/UIKit.h>
#import <AddressBook/AddressBook.h>
@interface RootViewController : UIViewController {
@public
}
@end

adding addressbook.framework to our target application in xcode

Course Schedule

Name Date Details
iOS Development Training 23 Nov 2024(Sat-Sun) Weekend Batch View Details
30 Nov 2024(Sat-Sun) Weekend Batch
07 Dec 2024(Sat-Sun) Weekend Batch

About the Author

Technical Research Analyst - Full Stack Development

Kislay is a Technical Research Analyst and Full Stack Developer with expertise in crafting Mobile applications from inception to deployment. Proficient in Android development, IOS development, HTML, CSS, JavaScript, React, Angular, MySQL, and MongoDB, he’s committed to enhancing user experiences through intuitive websites and advanced mobile applications.