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

How to open Contacts preferences using AppleScript

I want to add CardDav account in Contacts (AddressBook) using AppleScript. Also couldn't write script which can open "Contacts preferences". Any suggestions?
Mariam
  • 95
  • 2
  • 10
-1
votes
1 answer

How to fetch Address book person's online/off-line status through objective c on MAC

I need to fetch 'Address book person's online/off-line status' through objective C on Mac. I need 'iChat service' whatever Address book has used to fetch online status of a Person. Can anyone help me how can I get this though code. Thanks in…
Neelam Verma
  • 2,904
  • 1
  • 17
  • 27
-1
votes
2 answers

Showing custom contacts like iphone Address book

I have tried http://zcentric.com/2008/09/19/access-the-address-book/ And it works great. But now instead of AddressBook contact i have an array or other structure that have my contacts and i want to show it like an Address Book. Do i need to make…
Amit Hooda
  • 2,103
  • 2
  • 22
  • 35
-1
votes
1 answer

IOS: AddressBook Ui Framework

I want to select multiple contacts from an address book and i want to store the images of the selected persons in an mutable array. I have searched through the internet completely but i cant get any samples. Any one please help Thanks in advance
-1
votes
1 answer

contacts data in xcode

Everybody.. I am trying to develop an app for iPhone which basicly deals with ABAddressBook and contacts data... My goal is to send all the contacts data (at first step, names and phones) in a file by e-mail.. Now, I am trying to reach the contacts…
mtlcck
  • 9
  • 2
-2
votes
3 answers

Find out memory leak?

i am new on iphone apps.Now this is my first app,app is installed but not run? I write this code it shows memory leak.please find out.Thanks in advance. ABRecordRef ref = CFArrayGetValueAtIndex(all, i); CFStringRef *firstName = (CFStringRef…
Maidul
  • 1,279
  • 16
  • 30
-2
votes
1 answer

application crash on ios 11 when i want to fetch contact?

my app work very well on ios 9 and 10 ,but when i want to access contacts on ios 11 app crash (actually get Thread 8: signal SIGABRT when click tab to access contacts.) malloc: * error for object 0x1c401b410: Invalid pointer dequeued from free…
-2
votes
1 answer

How can I achieve Auto refresh contacts list like whatsapp in iOS?

I’m creating messaging app like whatsapp. In my message app, my contacts list doesn’t refresh anymore. I have added some new contacts on my iOS and i don’t see them on my contact list, But i receive messages from them and only the number shows. I…
Balasubramanian
  • 4,342
  • 3
  • 28
  • 51
-2
votes
1 answer

How to get the Source name of a particular contact from Address book?

My Address book app backs-up all the contacts from iPhone native address book. I want my address book app to sort the contacts by its source name. I tried kABSourceNameProperty & kABSourceTypeProperty, but no luck.
-2
votes
2 answers

Custom UIAlertView window text when asking for access to address book contacts

I have a view controller in my app that needs to access the user's address book to get their contacts. When the user first lands on the view controller, this is the UIAlertView window that pops up: I would like to be able to customize the text…
user3344977
  • 3,454
  • 4
  • 29
  • 82
-2
votes
1 answer

ABAddressBookCopyArrayOfAllPeople returns empty array on device

I develop application on iOS 6 that need access to AddressBook, I'm using following code: NSMutableArray *contacts = [[NSMutableArray alloc]init]; CFErrorRef *error = nil; ABAddressBookRef addressBook = ABAddressBookCreateWithOptions(NULL,…
InViZz
  • 111
  • 1
  • 4
  • 12
-2
votes
2 answers

Running a loop on AddressBook - Received memory warning

I'm running this code in order to create an image contains the caller's name, and setting it to the specific contact, but while it runs, I get Received memory warning and it crashes... -(void)RunActionInBlack{ //black bg - white…
Yosi Dahan
  • 417
  • 6
  • 18
-3
votes
1 answer

AddressBook: How to synchronise contact when we go for "Don't Allow" in ios

I am using AddressBook framework to retrieve contacts. 1st time, alert box appearing with, DON'T ALLOW and ALLOW . If I go for DON'T ALLOW, later, if I need to synchronise contacts to my app, I go for Settings --> My APP -->> Contacts then, make…
McDonal_11
  • 3,607
  • 5
  • 22
  • 50
-3
votes
1 answer

How to get contacts in iOS?

I am doing demo for getting selected single contact into my app. I have seen in github there are so many libraries, but all those are based on the podfile . But I don't want to podfile. So How can I get solution for this ?
Karthik Mandava
  • 497
  • 1
  • 8
  • 22
-3
votes
2 answers

Objective-C Adding Contact to Favorites

I know a new contact can be created in an iOS addressbook. Is there a way to also flag that contact and set it as a 'Favorite' programmatically?
dpigera
  • 3,281
  • 4
  • 33
  • 56
1 2 3
54
55