Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/ AFAddressBookManager Public archive

Get contacts from iOS Address Book by their phone numbers and email addresses. Works on iOS 6+.

License

Notifications You must be signed in to change notification settings

Fogh/AFAddressBookManager

Repository files navigation

AFAddressBookManager

Pod version Pod platform Build Status

Get contacts from iOS Address Book by their phone numbers and email addresses. Works on iOS 6+.

Project has been deprecated. Instead you shound be using the Contacts framework

Installation

platform :ios, '6.0'
pod 'AFAddressBookManager', '~> 1.2'

Manually

Copy all files from AFAddressBookManager folder to your project and add the Address Book framework.

Usage

Import AFAddressBookManager.h in the class where you want to use it.

Available methods

Get name (first and last) of contact by phone number:

+ (NSString *)nameForContactWithPhoneNumber:(NSString *)phoneNumber;

Get photo of contact by phone number:

+ (UIImage *)photoForContactWithPhoneNumber:(NSString *)phoneNumber;

Get name (first and last) of contact by email address:

+ (NSString *)nameForContactWithEmailAddress:(NSString *)emailAddress;

Get photo of contact by email address:

+ (UIImage *)photoForContactWithEmailAddress:(NSString *)emailAddress;

Other iOS Open Source Projects by Me

About

Get contacts from iOS Address Book by their phone numbers and email addresses. Works on iOS 6+.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published