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.
Asked
Active
Viewed 38 times
0

Brian Tompsett - 汤莱恩
- 5,753
- 72
- 57
- 129

Pradeep Kashyap
- 921
- 10
- 15
1 Answers
1
Yes ...you can change the text of navigation bar of ABNewPersonViewController...
ABNewPersonViewController *picker = [[[ABNewPersonViewController alloc] init] autorelease];
picker.newPersonViewDelegate = self;
picker.displayedPerson = person;
picker.navigationItem.title=@"YOUR TITLE";
[self.navigationController pushViewController:picker animated:YES];

Prasanna
- 945
- 10
- 24
-
thanks prasanna ,but i want more customization like i want to stop to show full size of contact image means i don't want to allow tap on image view. Is it possible ? – Pradeep Kashyap Feb 26 '16 at 13:11
-
I found a property "allowsEditing" for ABPersonViewController class have a look of it..... that what it does...... – Prasanna Feb 29 '16 at 05:23
-
it's okay but more than navigation bar title can't be modified. – Pradeep Kashyap Mar 03 '16 at 06:49
-
Yes... accept changing tint color (including view also)and navigation title , you can not modify the native ABPersonViewController – Prasanna Mar 03 '16 at 09:32