0

i have already searched many places many people have used ABAddressBookRef class but my xcode 4 does not recognize this i have imported and i have added the library/framework too but still the code was not recognized please help me in finding some working functions/classes/APIs which i call and they do there task THANK YOU EVERYONE

Asad Ullah
  • 117
  • 1
  • 3
  • 11

3 Answers3

1

The AddressBook API should do what you need. Use the IBAction or gesture link to the button to present it.

some_id
  • 29,466
  • 62
  • 182
  • 304
1

You will have to use AddressBook framework, first add the refrence to the framework,

Then import AddressBook.h in your class

#import "AddressBook/AddressBook.h"

Then start using ABAddressBookRef

ABAddressBookRef ref;

Omar Abdelhafith
  • 21,163
  • 5
  • 52
  • 56