abaddressbook Questions

2

Solved

Is it possible to grant access to the native address book (NAB) on iOS 7.0 Simulator programmatically? I am writing xctest Unit Tests that need write access to NAB. The unit tests are run on iOS 7....
Autohypnosis asked 30/6, 2014 at 18:56

1

Solved

I'd like to figure out a way so that, if the user presses the "Cancel" button (which I don't believe can be removed) in an ABPeoplePickerNavigationController, the view controller either doesn't clo...

2

I have a UITabBarController with three tabs. When a certain one is pressed, I'd like the user to immediately see a person view controller (an instance of the ABPersonViewController class). I don't...
Hemicycle asked 14/8, 2015 at 2:0

4

Solved

I am using ABAddressBookRegisterExternalChangeCallback to get the external changes in AddressbookBook of the user. I am using the following code to register the callback: ABAddressBookRef ntificat...
Angelitaangell asked 3/7, 2013 at 5:10

7

Solved

I have a callback handler registered that listens to changes in the iOS Address Book. Due to some strange reason (for which a bug has been filed), this callback can sometimes be called more than on...
Hitormiss asked 19/8, 2011 at 4:30

2

Solved

I am trying to load the contacts for my App. It is working fine in Simulator. But crashing in iPhone. The code I am using: func getContactNames() { let allContacts = ABAddressBookCopyArrayOfAll...
Halitosis asked 11/8, 2015 at 5:13

1

Solved

My findings I am designing a logic to sync contact with my Backend. I gone through some apps that doing same thing in IOS. I will take the example of WhatsApp, I found that When I update any conta...
Westbrooke asked 1/8, 2015 at 8:25

2

I am working on a chat app. For which i need to save contacts. So i am saving all contacts from ABAddressBook in my core data entity. Problem is how can i know if a contact is modified or removed f...
Bolivia asked 5/5, 2015 at 6:56

2

iOS9 deprecates user info features for CloudKit and ABPerson. e.g. in the properties of CKDiscoveredUserInfo firstName" Deprecated in iOS 9.0 lastName" Deprecated in iOS 9.0 I want last n...
Logarithm asked 9/6, 2015 at 8:24

3

I have an app which crashes occasionally due to the array returned by ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering() having a different size to ABAddressBookGetPersonCount(). The shell...
Belisle asked 19/9, 2011 at 16:9

2

Solved

I wish to search in the iphone AddressBook through my app using the number as the key and then retrieve the image associated to that contact and display it on the UIImageView. I tried using ABAddr...
Cline asked 25/2, 2011 at 10:12

3

Solved

I am using Addressbook in my IOS app to fetch the contact name and numbers, but a strange thing is happening that it is showing phone number of some of the contacts. I was hoping it will show all ...
Sebastiansebastiano asked 17/5, 2013 at 10:51

1

Solved

I have a problem to get the permission to access the AddressBook since I updated on iOS 8. In iOS 7 the system asks the user whether my App is allowed to access his AddressBook but since iOS8 ther...
Garnierite asked 16/9, 2014 at 8:22

3

Solved

I'm relative new to iOS-Development and swift. But up to this point I was always able to help myself by some research on stackoverflow and several documentations and tutorials. However, there is a ...
Biotin asked 23/9, 2014 at 17:54

2

Solved

While using Objective-C we generally use the following code to get the details NSString *firstName = (__bridge_transfer NSString *)ABRecordCopyValue(contactPerson, kABPersonFirstNameProperty); I...
Galactic asked 23/7, 2014 at 4:57

3

Solved

I have an application written in Swift that is pulling in the users contacts from their address book. I want to filter out the contact that only contain a company name (so that you get your "assu...
Cogitate asked 7/9, 2014 at 23:42

2

My app needs to store a user's contacts on our servers (given the user's permission of course.) One of it's requirements is to reflect any changes on the devices address book (add/edit/delete) to t...
Niall asked 17/9, 2012 at 8:16

4

I have a strange problem where I register my iOS-app to listen to changes in the phones address book. The correct method is called when something changes in the address book but it gets called 2 - ...
Mickeymicki asked 10/4, 2012 at 21:7

1

Has anyone ever succeeded in searching for names in an Exchange GAL linked to an iOS device, using ABAddressBook framework, or otherwise? I've managed to get all the names from the contacts stored...
Ostrogoth asked 10/7, 2013 at 8:52

3

I checked the documentation but could not find anywhere regarding assigning ringtone to a group of contacts programmatically. I was wondering is it even possible without using Private API and app s...
Baggy asked 27/11, 2013 at 9:16

3

I am attempting to create an app that can be used to search an Exchange GAL, however, I am finding the new 4.0 documentation regarding this subject confusing. Does anyone know how I might go about ...
Westminster asked 24/6, 2010 at 8:49

2

Solved

After the last update to Xcode 5.1, the Apple's example code for sorting Address Book stopped working. URL: https://developer.apple.com/library/ios/documentation/ContactData/Conceptual/AddressBookP...
Decorticate asked 17/3, 2014 at 20:34

1

[background: iOS 7, Xcode 5, both up to date as of Feb 2014. Test data is address book entries with multiple phone numbers and multiple addresses in addition to basic contact info, on an iPhone 5 (...
Egor asked 18/2, 2014 at 5:54

4

Solved

I am trying to understand the ABAdressBookCreateWithOptions and ABAddressBookRequestAccessWithCompletion methods in iOS 6. The most information i have been able to find is the following, "To requ...
Boresome asked 23/8, 2012 at 1:39

1

Solved

Assuming the user has granted permission for the app to access contacts, is there any way to determine which record belongs to the phone owner? For example if you browse the list of contacts on you...
Monomania asked 14/10, 2013 at 19:27

© 2022 - 2024 — McMap. All rights reserved.