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

ABAddressbook notification of delete of Record

I use the kABpersonModificationDateProperty to detect AddressBook records that have been added/modified since the last startup. Is it possible to detect which records have been deleted since my last startup?
Stephen Joy
  • 328
  • 1
  • 2
  • 8
0
votes
2 answers

IOS (AddressBook) - Unable to retrieve value of kABPersonFatherLabel and other labels

I am able to retrieve properties from an ABRecord easily. Ie: NSString *firstName = (NSString *)ABRecordCopyValue(person, kABPersonFirstNameProperty); But I am struggling to find a way to retrieve the value of CFStringRef constants from the…
PersuitOfPerfection
  • 1,009
  • 1
  • 15
  • 28
0
votes
1 answer

edit contact information in iphone

I am developing an app in which I have to allow user to edit the contact programatically. I googled about it I found that ABPersonViewController will be used. I am not able to find it how to implament it. Address Book Programming Guide for iPhone OS…
Ankit Sachan
  • 7,690
  • 16
  • 63
  • 98
0
votes
0 answers

search specific number in iphone contacts

I am developing a Voip application. My application has its own call logs and screen is same as native call logs. Application also has its own contacts received from server and also has iphone contacts option which display iphone's contacts like…
Khushbu Shah
  • 1,603
  • 3
  • 27
  • 45
0
votes
1 answer

Prevent duplicate contacts while adding from .vcf of all contacts using method ABPersonCreatePeopleInSourceWithVCardRepresentation

I am using the following code to create a V-card representation for all my contacts. ABAddressBookRef addressBook = ABAddressBookCreate(); //------------------------------------------------- create vcf…
user2435304
0
votes
1 answer

Crash report when user accesses the addressbook

Incident Identifier: 236B9D70-0A5E-49B4-8A60-797CC9FEFF2B CrashReporter Key: 38c652a88ce03779805e96d5c4e36f9df820deba Hardware Model: xxx Process: LuckyOne [3493] Path: …
Upendra
  • 683
  • 6
  • 23
0
votes
1 answer

How do i create a contact in Address Objective-c?

I have code to add a contact to iOS 6 address book. The code looks similar to the answers on this page. The problem is that all the addresses for the contact all come out in the US format. If i go and create a contact in the address book manually…
Just a coder
  • 15,480
  • 16
  • 85
  • 138
0
votes
1 answer

How do I get the group members count number fast from ABAddressBook

Is there a way to get the group members count from the ABAddressBook without looping through all group members? I used ABGroupCopyArrayOfAllMembers to get the array count for all group, It is so much for the pain as for performance. Is there another…
bigjava
  • 145
  • 2
  • 10
0
votes
1 answer

How to switch the views form address book to mailing view

This might be a trivial thing but I am new to xamarin/monotouch or iPhone/IOS development, I am trying to make an application(sort of gallery+mail) in which I want to share the image.At longpress it should open the contacts from where I can select…
0
votes
1 answer

App crashes on iPhone 4 but works fine on iPhone3gs

The code where the app exactly crashes is NSString *phone, *phone_personal, *phone_business; for(CFIndex i = 0; i < ABMultiValueGetCount(phones); i++) { mobileLabel = (NSString*)ABMultiValueCopyLabelAtIndex(phones, i); …
user2435304
0
votes
1 answer

How to know if the ios addressbook can access Facebook contacts

On iOS, I want to know if the user has enabled the contacts app to include Facebook contacts. (He does so in the iPhone settings under "Facebook", where apps are listed that can connect with facebook). When the Contacts app can connect with…
0
votes
3 answers

iOS Contacts not showing in tableview

I am trying to retrieve contacts from address book on iOS. In my NSLOG all seems ok, but when I put all contacts to tableview (Labels etc), it's showing white cell and accessory only but 3 times ( I have only 3 contacts, and count working well in…
Anton
  • 3,102
  • 2
  • 28
  • 47
0
votes
1 answer

Initializing 'ABMultiValueRef *' (aka 'const void **') with an expression of type 'CFTypeRef'

I get following warning under ARC: Initializing 'ABMultiValueRef *' (aka 'const void **') with an expression of type 'CFTypeRef' (aka 'const void *') discards qualifiers. on line ABMultiValueRef *phones = ABRecordCopyValue(abPerson,…
Shmidt
  • 16,436
  • 18
  • 88
  • 136
0
votes
1 answer

Get addressbook all phone labels list

I need to get addressbook all phone labels. I mean, not phone labels for all existing contacts, but all phone labels list(when you touch phone label in Contacts app there is a list of labels). Is it possible?
Shmidt
  • 16,436
  • 18
  • 88
  • 136
0
votes
2 answers

Store contacts in own application in iphone

I am new to iPhone application development. My application has its own contact screen which has all contacts of phone book and also application's contacts in single list. My application should store all contacts in its dataabse, it should not…
Khushbu Shah
  • 1,603
  • 3
  • 27
  • 45