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

Can not get image from ABPerson from contacts

Using Xamarin I am trying to get image from ABPerson from AddressBook. I am successfuly getting all info about person name, phones etc. But method ABPerson.HasImage returns false for all contacts even for those who have a photo in the address book…
0
votes
1 answer

How to fetch contact id in your iOS app?

I am new to iOS and I have fetched contacts in my app, but how to fetch the contact id... suppose if there are two numbers saved with the same name, so how to fetch that particular contact name's id?
0
votes
1 answer

Import AddressBook Contact Info, how to handle empty fields?

I am importing contacts info into some textfields, but the app crashes if there are no entries for certain fields, like phone, email, etc. Here are my textfields: First Name Middle Name Last Name Main Phone Mobile Phone …
WrightsCS
  • 50,551
  • 22
  • 134
  • 186
0
votes
1 answer

UIActivity for sharing vCard

Been a while since I had to deal with AddressBook framework. I am wondering if there is a way to get some "Add to Addressbook" functionality for free when setting UIActivityViewController.activityItems to a vCard with something like: let…
Frederik Winkelsdorf
  • 4,383
  • 1
  • 34
  • 42
0
votes
0 answers

Open up a ABPersonViewController from an APContact

I am using APAddressBook which helps me use the address book in a simple way. Yes I know the Contacts and ContactsUI frameworks are there now, but they are iOS9+ and I also want to support iOS8. The problem I have with it however, is that it only…
Tom van Zummeren
  • 9,130
  • 12
  • 52
  • 63
0
votes
0 answers

How to add contacts to openfire server using xmppFramework?

Hi I am making an chatting app for that i am using xmpp and openfire every thing working fine but when i add my contacts to openfire server first time it is not adding to server when i close my app and reopen then synchronize my contacts showing in…
Bittoo
  • 579
  • 7
  • 21
0
votes
1 answer

Can we customize ABNewPersonController in ios sdk?

How can we customize the AB new Person controller in ABAddressBook Framework? I want to change text of navigation bar of AB new Person controller.
Pradeep Kashyap
  • 921
  • 10
  • 15
0
votes
1 answer

Presenting an AlertView on the contact list (AddressBook)

I'm picking the name and surname from AddressBookUI. And I'm controlling if the user name exist in my array and I can find it. My issue is I'm trying to present and alertView after the user tap(select) and I'm getting this issue but I'm getting this…
CAN
  • 1,677
  • 4
  • 19
  • 28
0
votes
1 answer

App in the appstore crashes when adding person to contacts?

After 8 days and a minor metadata fix, I was glad my app was in the app store. But unfortunately it crashes on my girlfriend's iPhone IOS 8.3 and I created it with 8.1 in mind. 1/ As this is my first app, where can I find the crash report of my…
alex
  • 4,804
  • 14
  • 51
  • 86
0
votes
1 answer

Make Enable-Disable IOS Contacts Access using Toggle

I need to Turn Off contacts access from myApp when user off(Disable) using toggle. As well get Authority of contacts when toggle will On(Enable). Have any one idea how to fix.
Ayaz Rafai
  • 15
  • 5
0
votes
3 answers

How to create contacts list like whats app did

I'm working on an app that creates an user profile. I need to be able to see who from my contacts has the app installed so that i am able to grant them access to my profile and see their profiles. How do i get the full contact list, determine my…
Ravi Singh
  • 27
  • 1
  • 7
0
votes
0 answers

Can we reset value of ABAddressBookGetAuthorizationStatus() if it is denied earlier ?

Im using ABAddressBook currently in my application. Im wondering whether if we could reset the value of ABAddressBookGetAuthorizationStatus() if it is denied in earlier time ? This should obviously done by programmatically and not by manually going…
Rajesh
  • 546
  • 9
  • 29
0
votes
2 answers

How to show contacts with APAddressBook in TableView

I need some help using APAddressBook. I can't understand how to use APAddressBook to load and show contacts. I think this function gets all contacts from address book func loadContacts() { self.addressBook.loadContacts({ (contacts:…
Xernox
  • 1,706
  • 1
  • 23
  • 37
0
votes
1 answer

How to add a contacts to contact book in own program?

I want to ask a question about the iPhone application. The application can let the user to enter the information in a costumed table (not the contacts book). After that, the program will use the retrieved data to add to the address book. But I don't…
Questions
  • 20,055
  • 29
  • 72
  • 101
0
votes
1 answer

How to add a Contact in Contact using iPhone Native UI

I Want to add phone numbers in Contact List whenever user taps on a Phone Number. I don't want to do it programatically in background and after saving just inform user. I have recently seen Feature in trueCaller. In which When I click save to…
Rahul
  • 5,594
  • 7
  • 38
  • 92