abaddressbook Questions

3

Solved

I am tring to get email address of ABRecordRef like this: ABRecordRef ref = CFArrayGetValueAtIndex( allPeople, i ); NSString *email = [(NSString*) ABRecordCopyValue( ref, kABPersonEmailProperty ) ...
Tradition asked 12/7, 2011 at 1:35

2

Solved

I need to reference ABPerson records from within an application. I use the unique ID provided by - (NSString *)uniqueId and attach it to my in-app contact record. Additionally, I save ABPers...
Nader asked 16/8, 2011 at 20:46

3

Solved

In my App, Crashlytics is used to gather crash reports from users. Here is one crash report from a user. It is possibly depending on the contacts informations of the user. I can not recreate the cr...
Agglutinin asked 13/5, 2013 at 3:4

4

Solved

My method of programmatically retrieving e-mail addresses from the Address Book no longer seems to work on iOS 6 devices. It worked in iOS 5 and oddly, still works in the iOS 6 Simulator. Is there ...
Dryly asked 20/9, 2012 at 17:2

1

Solved

My app uploads contacts, and, in the future, will need to update them. Is using the ABRecordID a reliable way to identify people, or is it possible for a new record to obtain the ID of a deleted re...
Bowknot asked 4/6, 2013 at 15:46

1

Solved

I am asking permission to access my contacts using the code below. ABAddressBookRef addressBookRef = ABAddressBookCreateWithOptions(NULL, NULL); if (ABAddressBookGetAuthorizationStatus() == kAB...
Vulgarize asked 10/5, 2013 at 8:30

2

I know I can turn on and off permission in System Preferences -> Security & Privacy -> Privacy -> Contacts, but what I want to do is force OS X to ask for permission again. This is for...

1

As every one is aware of the fact that we can create an address book(ABAddressBook),copy all people in array and then create a record reference(ABRecordRef),then copy its image data using NSData as...
Louisalouisburg asked 20/7, 2012 at 7:10

3

Solved

Err,I have been pulling my hair thinking about a way from quite a few days.I have retrieved all contacts names and placed in an array using dictionary. What I have is a model class holding a list ...
Sagamore asked 28/2, 2013 at 15:10

3

Solved

I'm trying to get Groups Name but after many time call this method "by the user to reload contacts" it give the nil value and the following error. -(void) getGroupsName { [groupsName removeAllOb...
Westnorthwest asked 23/12, 2012 at 10:44

1

Solved

I have accessed the address book and success fully extracted the records and necessary info from it. I have also extracted recordid. My problem is how to use this recordid to extract record later. ...
Puleo asked 27/12, 2012 at 13:22

2

Solved

I'm try to get birth data for contacts but if user does not choose year or the contact come from Facebook and the year or the data it self is hidden so it give me the "1604" value for the year u ca...
Jaunita asked 24/12, 2012 at 15:57

2

Solved

In my code I use ABPeoplePickerNavigationController to select person. After user select person from contact list, I look if specified person record have any phone number: - (BOOL) peoplePickerNavi...
Timberland asked 23/10, 2012 at 14:19

1

Can one programmatically add/remove the contacts inside the CFArray returned by ABPersonCopyArrayOfAllLinkedPeople, thus, effectively, linking and un-linking different records of contacts from vari...
Mothering asked 31/5, 2011 at 10:57

3

Solved

How can i sort (or retrieve sorted array of ) an iphone contact book by first name & last name programmatically ?? Any help will be well appreciated...! Thanks
Dislodge asked 23/4, 2010 at 10:48

2

Solved

I have an app that uses the Address Book. When running in iOS 6 it runs this code when the user does something that requires Address Book access. if (ABAddressBookGetAuthorizationStatus() == kABAu...
Warp asked 10/10, 2012 at 1:17

1

Solved

I want to get the "Me" card's Name so when i create the mail window with MFMailComposeViewController I can MFMailComposeViewController *mailer = [[MFMailComposeViewController alloc] init]; maile...
Leasehold asked 3/10, 2012 at 14:51

1

Solved

Is there a way to customize the prompt that appears when my app tries to access the address book? I want to add an explanation of what data I use, and why I need it.
Powe asked 26/9, 2012 at 16:45

0

I'm trying to create an app with a custom interface for searching through one's addressbook. Searching the local addressbook seems easy, but I cannot figure out how to search for a person/record in...
Crystacrystal asked 11/7, 2012 at 4:31

1

How can I get the name of an ABAddressBook source to display it? (I know the enums kABSourceTypeLocal, kABSourceTypeExchange, ... ) I don't mean the source-type-name you get with ABRecordCopyValue...
Azygous asked 8/5, 2012 at 8:6

2

I have an iPad-appliction that syncs contact with the contacts on server side. How do I detect only that ABAdressbook-Entries that have changed? It is possible, that there occur changes on server-...
Cranky asked 14/4, 2011 at 7:39

2

Apple says: Important: Instances of ABAddressBookRef can not be used by multiple threads. Each thread must make its own instance. But why? I know that some particular class or operations mu...
Ethylethylate asked 10/8, 2011 at 15:26

2

Solved

I've spent some time searching for this answer on SO, but couldn't find it, so here goes: I'm starting with an ABPeoplePickerNavigationController, and when a user taps a person, they'll be taken t...
Diaconate asked 11/3, 2011 at 8:14

1

Solved

I use the ABAddressBook in my app. The access to the AB is from a separate thread in order to release the UI. I am aware of the fact that the access to the AB instance has to be from the same threa...
Gaudet asked 18/1, 2011 at 9:5

1

Solved

I really need some help here. I do exactly the same as in all the examples, but don't get any notification. Here's my code: #import <AddressBook/ABAddressBook.h> #import <AddressBook/...
Heeler asked 4/1, 2012 at 15:13

© 2022 - 2024 — McMap. All rights reserved.