Questions tagged [abpersonviewcontroller]

ABPersonViewController is an iOS class that provides a view for displaying a person record.

ABPersonViewController is a public class provided by Apple in iOS 2.0 and newer, which implements a view to display an ABPersonRef record. It displays all of the public fields of an ABPersonRef, the contact photo, and provides actions (such as viewing a map when tapping on a street address).

82 questions
0
votes
0 answers

How to get name and phonenumber peoplePicker

So i am trying to follow the guides and tutorials that apple gives about the ABPeoplePickerNavigationController. So far what i have been able to do is to get the picker to show and see all the avaliable contacts using this code: -…
Timo Cengiz
  • 3,367
  • 4
  • 23
  • 45
0
votes
1 answer

Can i edit an existing contact from ABaddressBook without ABPersonViewController?

I have created a custom address book that copy the native address book list with contacts. Now, in detail view controller I managed to ADD a new contact and REMOVE an existing contact from native address book. I want to edit an existing contact and…
0
votes
3 answers

Pushing ABPersonViewController to ABPeoplePickerNavigationController on iOS8

Presenting the people picker ABPeoplePickerNavigationController *peoplePicker = [[ABPeoplePickerNavigationController alloc] init]; peoplePicker.allowsActions = YES; peoplePicker.allowsEditing = NO; peoplePicker.peoplePickerDelegate = self; [self…
0
votes
1 answer

ABPersonViewController not retrieving data when pushed into PeoplePickerNavigationController

I am trying to show ABPersonVIewController on PeoplePickerNavigationController. But it isn't working in iOS 8. Here is the code I have used. ABPersonViewController *personVC = [[ABPersonViewController alloc] init]; personVC.addressBook =…
Jean Paul
  • 2,389
  • 5
  • 27
  • 37
0
votes
1 answer

controlling ABNewPersonViewController

I'm using ABNewPersonViewController to add a new contact. However, I want to ensure that the user inputs some fields. How do I achieve this? I don't see any help from ABNewPersonControllerDelegate or from ABNewPersonViewController.
Dunes Buggy
  • 1,779
  • 1
  • 21
  • 41
0
votes
1 answer

Gray Status Bar when contact email is chosen from ABPersonView

I've implemented ABPersonView in my application to allow a contact to be viewed. Upon choosing the email field, the email application is opened as expected except for a gray status bar which is only appearing on the iPad, on the iPhone it is not. I…
Jesse
  • 13
  • 4
0
votes
1 answer

ABPersonViewController is not showing facetime button?

I get contacts using ABPeoplePickerNavigationController and when i select any one of these contacts, i get details of that person using ABPersonViewController. From apple documents, we will get face time button on ABPersonViewController using…
Prasad G
  • 6,702
  • 7
  • 42
  • 65
0
votes
1 answer

Address Book retrieve chosen phone number?

I am getting on OK with my Objective C learning but have hit a bump in my app. Below is the code I have so far, just a simple one button app with the plan to be that clicking the button will open the contacts, let you select a contact and then…
0
votes
1 answer

Issue when checking if current viewController class is ABPersonViewController in IOS 7

I am loading ABPeoplePickerNavigationController. On the click of a contact in the peoplepicker, I am checking a condition if([navigationController isKindOfClass:[ABPeoplePickerNavigationController class]] && [viewController…
Xavi Valero
  • 2,047
  • 7
  • 42
  • 80
0
votes
0 answers

ABPersonViewController Change selector for Cancel Button on EDIT MODE

Below is my code: (init a ABPersonViewController:) - (id)initWithPerson:(ABRecordRef)person { self = [super init]; if (self) { self.addressBook = ContactsGetAddressBook(); self.displayedPerson =…
Crash
  • 9
  • 4
0
votes
1 answer

Handling click events inside ABPersonViewController; not responding to clicks

am using this function in my program for displaying contacts in my program. But when i click on the fields in the abpersonview nothing happens. - (BOOL)personViewController:(ABPersonViewController *)…
Raon
  • 1,266
  • 3
  • 12
  • 25
0
votes
1 answer

How to display phone numbers and email and names of a user?

This is what I have tried: -(void) vDisplayPerson:(ABRecordRef)person { ABPersonViewController *picker = [[ABPersonViewController alloc] init] ; picker.personViewDelegate = self; picker.displayedPerson = person; …
user4951
  • 32,206
  • 53
  • 172
  • 282
0
votes
1 answer

ABPersonViewController without access to the addressbook

I am implementing an application in which the user should be able to import a contact from the address book or to provide a contact themselves. I implemented everything using https://github.com/soffes/sspersonviewcontroller . New contacts are…
0
votes
1 answer

ios5, ABPersonViewController - notify when person's record is updated?

I have a UITableViewCell that displays person's name from Address Book. When that cell is selected, the person's info is displayed using ABPersonViewController (where editing is ON). What I want to do is if the person's first name or last name is…
user427969
  • 3,836
  • 6
  • 50
  • 75
0
votes
1 answer

Take the selected phone number [iPhone]

I'm trying to take phone number from the Contacts on the iPhone. I implemented the -(BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person…
Marco Manzoni
  • 707
  • 3
  • 11
  • 21