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
1 answer

Finding and displaying contact in AB with its UID

I'm having a problem understanding how to find a contact in the Mac Address Book and displaying it in the AB using the selectInAddressBook:sender method. The ABPeoplePicker CLass documentation doesn't mention precisely which information it passes to…
user886832
0
votes
1 answer

Finding the path to a contacts image in Objective-C on the iPhone

I was wondering if there was someway to find the file path of a contacts image? I'm familiar with the functions ABPersonCopyImageData and ABPersonCopyImageDataWithFormat. Those don't return the actual path to the image though. I was wondering if…
MilkyC
  • 36
  • 6
0
votes
1 answer

trying to create a new entry in the address book via the ABUnknownPersonViewController on iOS

In iOS I'm trying to create a new entry in the address book via the ABUnknownPersonViewController with this code (it's an UITableViewController): - (void) tableView:(UITableView…
caliopigio
  • 48
  • 3
0
votes
1 answer

How to open the Edit contact window in iphone app?

I am adding contact info from my iPhone application on Addcontact click. I just want to open edit contact window on same Addcontact click so user can edit or delete the contact which just now have added. I have done smthing like below.. -…
Navnath Memane
  • 265
  • 1
  • 8
  • 25
0
votes
1 answer

How to set hidden label and value with AddressBook Framework in cocoa?

I know how to add a label&value into a local contact,just like this: CFErrorRef error; ABMultiValueRef ref = ABRecordCopyValue(self.record, kABPersonPhoneProperty); ABMutableMultiValueRef copyOfRef =…
user392412
  • 743
  • 12
  • 18
0
votes
2 answers

Use ABAddressBook to get the iPhone user in iOS

Possible Duplicate: How does Square's CardCase App Do This? Is this forbidden? Square's iPhone App CardCase seems to be doing this when you create an account. It prefills fields with your email address, photo, and name from the iPhone's address…
Genericrich
  • 4,611
  • 5
  • 36
  • 55
0
votes
1 answer

Change ALL numbers in Address Book / Contacts

I'm trying to give a uniform change to all the numbers in my address book, I want to add my country code (+46) to all number starting with 0 and thought I'd make an app for this. The question is how to do this in the best way, it seems kind of -…
Tobias Tovedal
  • 731
  • 2
  • 8
  • 14
0
votes
1 answer

To make ABPeoplePickerNavigationController work like Contact App is way to complicated?

I am trying to make ABPeoplePickerNavigationController work like Contact App and find it is way too complicated. I am not sure if this is because I have done it wrong or it is just the way it is. The first task is to get rid of Cancel button at…
Qiulang
  • 10,295
  • 11
  • 80
  • 129
0
votes
1 answer

ABMultiValueRef memory leak?

When I use Instruments, it complains of a memory leak on emailProperty. Analyzer complains about mobileLabel. The code snippet is below. Given that I use release and CFRelease, is there an obvious reason why it's complaining? Thanks in advance for…
0
votes
1 answer

iOS ABPersonViewController

I have a tab bar app and in the first tab I have some buttons and a table view which is populated with contact info from Address Book. I am trying to show the contact info using the ABPersonViewController as a modal view when the accessory button of…
0
votes
1 answer

Can I set up a seperated addressbook from the deafult one for iPhone?

can I set up a seperated addressbook from the deafult one for iPhone ? I need this because for the app I am developing I need to add contact information for some special events; also I need to add contact information from work. I don't want to mix…
Qiulang
  • 10,295
  • 11
  • 80
  • 129
0
votes
1 answer

Fastest way to find a contact matching name?

I have a TableView filled with NSArray containing NSString names of some contacts from address book, in detailTextLabel of cells some information from that contact have to be shown. For every cell, I copy all contacts from addressbook to an array,…
Hadi Sharghi
  • 903
  • 16
  • 33
0
votes
1 answer

iOS address book read only concept

Is there any concept in the address book API of inserting a read-only or locked entry from an application? We want to integrate with the Address book, but don't want the entries to be removed. Thanks in advance! Rob
Rob Bonner
  • 9,276
  • 8
  • 35
  • 55
0
votes
1 answer

Using initWithVCardRepresentation

So I have used an instance of ABRecordRef to create an ABPerson using "ABPersonCreate()". What I would now like to be able to do is use the "initWithVCardRepresentation" to add preset details to the ABPerson created. I have no idea how to do this…
Matthew Hallatt
  • 1,310
  • 12
  • 24
0
votes
1 answer

ABAddressBookCopyArrayOfAllPeopleInSource

I built an iphone app that syncs with the iphone address book. with some users, the contact list has "linked contacts" or unified or merged contacts, they appear at the bottom. so some users have one person as the main contact and more linked…
Moshe Marciano
  • 2,349
  • 4
  • 33
  • 44