Questions tagged [addressbook]

An address book or a name and address book (NAB) is a book or a database used for storing entries called contacts.

An address book or a name and address book (NAB) is a book or a database used for storing entries called contacts. Each contact entry usually consists of a few standard fields (for example: first name, last name, company name, address, telephone number, e-mail address, fax number, mobile phone number). Most such systems store the details in alphabetical order of people's names, although in paper-based address books entries can easily end up out of order as the owner inserts details of more individuals or as people move. Many address books use small ring binders that allow adding, removing and shuffling of pages to make room.

Source

926 questions
58
votes
17 answers

Find Duplicate Elements In Array Using Swift

How to find Duplicate Elements in Array? I have array of phone numbers so in the phone numbers i should start searching from the right side to the left side and find similar 6 integers. then i should print them out.
C0mrade
  • 1,215
  • 1
  • 10
  • 23
46
votes
2 answers

Toggling Privacy settings will kill the app

I have an app that uses the iPhone's contacts. With iOS 6, the user will be prompted for Contact access on the first try. At this point, the user can hit 'Allow' or 'Don't Allow'. The problem is when the user backgrounds the app, and then navigates…
rocky
  • 3,521
  • 1
  • 23
  • 31
35
votes
11 answers

How to get a CNContact phone number(s) as string in Swift?

I am attempting to retrieve the names and phone number(s) of all contacts and put them into arrays with Swift in iOS. I have made it this far: func findContacts() -> [CNContact] { marrContactsNumber.removeAllObjects() …
Baylor Mitchell
  • 1,029
  • 1
  • 11
  • 19
35
votes
5 answers

How to add a contact to the iPhone's Address Book from a Web Page?

In the desktop Mac world, if I were to click on a link in a web page which linked to a VCF file, this file would be opened in the Address Book application. In the iPhone world, however, doing that results in the message "Download failed. Safari…
NeilCrosby
  • 872
  • 1
  • 7
  • 11
32
votes
1 answer

Import Address Book from Gmail/Hotmail/Yahoo using C# and ASP.NET

Hi can somebody tell me how to import all of my contacts from gmail, yahoo, hotmail and so on.. and i want to send an invitation for all my contacts? How can i achieve this?
Nagu
  • 4,954
  • 14
  • 52
  • 67
30
votes
2 answers

How to create addressDictionary for MKPlacemark?

placemark = [[MKPlacemark alloc]initWithCoordinate:storedCoordinate addressDictionary:addressDict]; I tried to create dictionary to use for code above, but nothing works :( NSDictionary *addressDict = [[NSDictionary alloc]…
Shmidt
  • 16,436
  • 18
  • 88
  • 136
29
votes
9 answers

Creating a circularly linked list in C#?

What would be the best way to create a circularly linked list in C#. Should I derive it from the LinkedList< T> collection? I'm planning on creating a simple address book using this Linked List to store my contacts (it's gonna be a suck-y address…
Kredns
  • 36,461
  • 52
  • 152
  • 203
24
votes
5 answers

Is there any way to get the "Me" card from iPhone Address Book API?

So I'm stumped on this one. In Mac OS X there is an easy way to get the "Me" card (the owner of the Mac/account) from the built-in address book API. Has anyone found a way to find out which contact (if it exists) belongs to the owner of the…
amattn
  • 10,045
  • 1
  • 36
  • 33
23
votes
1 answer

AddressBook synchronization in iOS

Is there any way in iOS to get notification about address book changes since the last time applications was opened. The application stores address book in internal database and I don't want to perform full sync each time it activated. Thanks in…
Ilya K.
  • 940
  • 6
  • 16
20
votes
2 answers

iPhone Address Book: List Sources and Accounts

I need to select the address book source in which contacts are created by my app. In the Contacts app, when I select "< Groups", I get the options All Contacts MobileMe All MobileMe Company Family Friends … ACME Exchange ACME Exchange Global…
Michael Manner
  • 513
  • 5
  • 10
19
votes
3 answers

How to select a contact with ABPeoplePickerNavigationController in Swift?

I have added the ABPeoplePickerNavigationController into my first view controller. I want that when I select a contact show the info to show in other view controller, but I'm trying use my code and this not show never when I click in a contact. This…
user3745888
  • 6,143
  • 15
  • 48
  • 97
19
votes
1 answer

How to correctly use ABPersonViewController with ABPeoplePickerNavigationController to view Contact information?

Update 9/2/10: This code no longer works as of the iOS 4 update--it fails with an internal assertion. There is now a great Address Book API example available in the iPhone SDK Reference Library called "QuickContacts." The example code is available…
Jason Machacek
  • 994
  • 1
  • 8
  • 18
18
votes
2 answers

Getting merged/unified entries from ABAddressBook

I'm developing an application that is showing the iPhone contacts. The ABAddressBookRef returns duplicate entries for a contact that appears only once in the iPhone contacts application. Looking on the contact card (from the iPhone contacts), in…
Amir Naor
  • 2,236
  • 20
  • 27
18
votes
8 answers

Contact Address book crash on iOS 10 beta

When click on any contacts in address book (inside my app) it's crashing on iOS 10 beta and working fine on iOS 9 versions; This is the crash log *** Terminating app due to uncaught exception 'CNPropertyNotFetchedException', reason: 'A property was…
Bangalore
  • 1,572
  • 4
  • 20
  • 50
17
votes
4 answers

iOS accessing AddressBook Contacts via UnitTest; how to set permissions?

This question pertains to using the iPhone Simulator with Unit Tests. I have written a series of tests that test storing of our data, merged or not merged with data we can access from the user's contacts, depending on whether or not the contact…
sorens
  • 4,975
  • 3
  • 29
  • 52
1
2 3
61 62