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
1
vote
0 answers

How to add custom cell with custom action to ABPersonViewController?

i need to add custom cell to the bottom of ABPersonViewController but i don't find how to do that. Can someone tell me how to add custom cell or should i create my custom ABPersonViewController?
1
vote
0 answers

Error when display ABPersonViewController

I create ABPersonViewController like this : ABPersonViewController *picker = [[ABPersonViewController alloc] init] ; picker.personViewDelegate = self; picker.displayedPerson =…
1
vote
1 answer

iOS 7 - Why doesn't ABPersonViewController display all of my person's information?

I am using ABPersonViewController to display information from the phone's contacts. In iOS6 it works fine and I see all of the fields. In iOS 7 however, only the name shows up and not the other fields like phone number and address. What do I need…
harmanjd
  • 1,874
  • 19
  • 21
1
vote
2 answers

Handling actions ABPersonViewController with linked contacts on iOS7

I am having an issue handling an action on an ABPersonViewController when the view controller is displaying a merged contact in iOS 7. In the below example the ABPersonViewController showed 7 rows for the contact being displayed but when I fetch the…
1
vote
1 answer

Delete button in ABPersonViewController in ios7

I use an ABPersonViewController class to modify a contact. In ios6 a could display the delete button at the end of the view, using the code: [self.modContatto setValue:[NSNumber numberWithBool:YES] forKey:@"allowsDeletion"]; In ios7 the same code…
lmascherpa
  • 21
  • 2
1
vote
1 answer

Sigsegv crash when using AddressBookUI framework

Hi i have an error in a crash log that i cannot understand: Incident Identifier: A0DFD1F1-8CB5-4D97-B19C-F73438F50136 CrashReporter Key: [TODO] Hardware Model: iPhone4,1 Process: Rubrica4146 [1163] Path: …
1
vote
1 answer

ABPersonViewController does not have a navigationBar

I am writing an application that is based on UIViewController. It does not have a navigation bar. My application works with AddressBook. For now I use two things. The first (select a people): { ABPeoplePickerNavigationController *picker =…
1
vote
1 answer

Is it possible to let ABPersonViewController display only a multivalued property with a specific label?

Assuming, I have an ABAddressBook with a person record that has a valid work address and an invalid home address. I want to use an ABPersonViewController to let the user correct the invalid address. An ABPersonViewController has a property…
Reinhard Männer
  • 14,022
  • 5
  • 54
  • 116
1
vote
1 answer

EXC_BAD_ACCESS when using an ABPersonViewControllerDelegate

I have an iOS app that shows a list of contact names in a UITableView, and displays a contact with ABPersonViewController when a cell is tapped. This project uses ARC. If I associate an ABPersonViewControllerDelegate object, the app hits an…
1
vote
1 answer

ABPersonViewController in Modal

I would like to display ABPersonViewController as a modal instead of pushing it on the navigation stack. I've got this working but to keep a done button present I've had to use an NSTimer to add the button every 0.25 seconds because the done button…
keegan3d
  • 10,357
  • 9
  • 53
  • 77
1
vote
1 answer

Change navigation title for ABUnknownPersonViewController

So I would like to change the title for the ABUnknownPersonViewController, and so I set it via code by setting the navigation item's title and titleView to put my custom label on it. unknownPersonVC.title = @"title" uknownPersonVC.titleView =…
Legolas
  • 12,145
  • 12
  • 79
  • 132
1
vote
0 answers

How to refresh PeoplePicker after deleted contact? iOS

I implemented a ABPeoplePickerNavigationController and ABPersonViewController. I did however, add the peoplepicker to a tabbarcontroller, it is no longer presented modally. The tabbarController keeps a reference to the controller. I added a big red…
1
vote
0 answers

ABPersonViewController not locating address on map

Any ideas as to why presenting an ABPersonViewController with its delegate won't locate an address of a selected person on the map? Currently, the app just quits to Maps and stays there zoomed out. The code for the ABPersonViewController delegate…
Nico
  • 253
  • 1
  • 3
  • 13
0
votes
3 answers

ResignFirstResponder in ABNewPersonViewController after editing

On a class that subclasses ABNewPersonViewController in edit mode, I am loading a transparent view(xib file). When I am doing some edits, the keyboard pops up and even after I am loading the next view, the keyboard won't dismiss. Where should I be…
Xavi Valero
  • 2,047
  • 7
  • 42
  • 80
0
votes
1 answer

Merge contact details with existing contact

I'm trying to select a user in the addressBook using ABPeoplePickerNavigationController then once a user has been selected, within the delegate method - (BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker…
Tudor
  • 143
  • 1
  • 2
  • 13