Skip to content

Help to access contact information easier. No more necessary to know about ABRecordRef.

License

Notifications You must be signed in to change notification settings

emersonjsouza/AddressBookHelper

Repository files navigation

#AddressBookHelper

#Installation

  1. Drag AddressBookHelper.h and AddressBookHelper.m

##Usage

###Check permission to access contact information

 [[AddressBookHelper alloc] checkPermission:^(id response) {
      AddressBookPermission *permission =  (AddressBookPermission *)response;
      //user deny permission to access
      //permission.ReturnType == ADDRESS_NO_AUTORIZED;
      
      //user disabled app permission
      //permission.ReturnType == ADDRESS_PERMISSION_DISABLED;
      
      //permission.ReturnType == ADDRESS_SUCCESS;
 }];

###Retrieve all contacts

 [[AddressBookHelper alloc]  allContact:^(id response) {


}];

About

Help to access contact information easier. No more necessary to know about ABRecordRef.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published