Questions tagged [abaddressbook]

The ABAddressBook opaque type provides a programming interface to the Address Book — a centralized database used by multiple applications to store personal information about people. Available on iOS 2.0 or above , and Mac OS X

The ABAddressBook opaque type (whose instances are known as address books) provides a programming interface to the Address Book—a centralized database used by multiple applications to store personal information about people. The Address Book database also supports the notion of a “group” containing one or more persons. People may belong to multiple groups, and groups may also belong to other groups.

The ABAddressBook opaque type provides functions for creating references to the Address Book database, saving changes, discarding changes, and registering for changes made externally (by other threads or processes) to the database.

812 questions
0
votes
2 answers

Displaying Names section wise in AddressBook Alphabetically in iOS 5 with use of CFArray

Hi, I am trying to populate my tableview with contacts in the Address book section wise alphabetically, I am using CFArray in my program. So Far I've managed to display the contacts in sections and the section counts for the alphabets are correct.…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
2 answers

How to handle cancel and done button in new contact view

I have used ABNewPersonViewControllerDelegate in my project.It pops up new view for adding contact. -(IBAction)Click:(id)sender { ABNewPersonViewController *view = [[ABNewPersonViewController alloc] init]; view.newPersonViewDelegate =…
user2681789
  • 895
  • 2
  • 9
  • 16
0
votes
1 answer

Address Book iOS Import/Export

I want to move contacts from an iPhone 3G to a new iPhone. I was wondering if it's feasible to write a little app, to rip the whole address book on the 3G onto a file or DB, then use the same app to inject the contacts on her new phone? I know this…
Woodstock
  • 22,184
  • 15
  • 80
  • 118
0
votes
1 answer

How to fetch contact images from Address Book in iOS 6

I have been trying to fetch contact image of user from address book with no success yet.I am able to retrieve names of user but can't seem to figure out the problems with images. This is what i tried so far. -(void)fetchAddressBook { …
iCodes
  • 1,382
  • 3
  • 21
  • 47
0
votes
1 answer

How to fetch contacts from AddressBook and store it in array in iOS 6?

I am trying to fetch first name of contact in address book and then to store it in an array.However i am not able to store the contact in array. This is what i tried. -(void)fetchAddressBook { ABAddressBookRef UsersAddressBook =…
iCodes
  • 1,382
  • 3
  • 21
  • 47
0
votes
0 answers

iphone development: how to handle addressbook permission popup

In my app user is asked to be reached to his address book at the first time. Everything is normal if the user gives the permission. However, if the user does not give the permission, when he presses the button to reach the address book after some…
death7eater
  • 1,094
  • 2
  • 14
  • 35
0
votes
1 answer

Getting same contacts multiple times rather than multiple contacts

Hi I am new to iphone Application Development, but this question is more of coding related.I am using a tableview to display users name(textLabel) with phoneNumbers(detailtextLabel) using Addressbook of course. I have stored both of them in separate…
Roadblock
  • 2,041
  • 2
  • 24
  • 38
0
votes
1 answer

Unable to fetch mobile numbers from Contact List. iOS6

I am new to iphone App Development(using iOS6) and have been facing problem with fetching the mobile Numbers from the contact List into a UITableViewController. I can get the first name and last name correctly but the phone Numbers are being…
Roadblock
  • 2,041
  • 2
  • 24
  • 38
0
votes
1 answer

Retrieving records from an ABPerson object

I'm trying to get the Country from a ABPerson object in Cocoa. What I do is: NSString *country = [person valueForProperty:kABAddressCountryKey]; I get this in the console: -[ABPerson valueForProperty:Country] - unknown property. This warning will…
Mikael
  • 3,572
  • 1
  • 30
  • 43
0
votes
1 answer

Problems importing contacts in ABAddressBook to text file

I have created a simple contact app using Apple's addressbook and with the following delegates ABNewPersonViewControllerDelegate,ABPeoplePickerNavigationControllerDelegate and ABPersonViewControllerDelegate and it has the features: Create, Edit and…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
2 answers

Adding swipe on delete function in ABPeoplePickerNavigationController

I am doing a simple contacts app using Apple's addressbook and as provided in their developer site I have managed to create the contact app. But I have problem in the delete function. I have added the code for deletion [picker setValue:[NSNumber…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
1 answer

contact details from ipad using objective-c

How can I get the contact details from iPad and use it in my app. I am using the following code and getting the details from simulator. But while running in ipad i am not getting the contact image, email etc. i am getting the phone number…
priya
  • 305
  • 4
  • 18
0
votes
1 answer

Add edit functionality in contacts in iOS using Addressbook

I'm trying to create a simple create, display and edit contacts in Xcode 4.2 for iOS using AddressBook, so far I have done the create and display function. Now I need to implement edit function along with display. Now when I click on display it…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
0 answers

iOS 5 Crash -- `abortAfterFailingIntegrityCheck + 38`

I'm seeing a number weird address book related crashes on my app. I don't use the address book framework in my application. The address book framework is not linked with the application either. I use MapKit in my app. The crashes occur on iOS5…
Sonny Saluja
  • 7,193
  • 2
  • 25
  • 39
0
votes
2 answers

ABNewPersonViewController imagePicker orientation and crash issue

My iPad app supports only landscape orientation. I have presented ABNewPersonViewController (in navigationcontroller as apple docs suggestion) modally and is in land scape. Now, when I am trying to "add Photo" the imagePicker is presented modally…
AUK4SO
  • 301
  • 2
  • 13