I’m using the ABPeoplePickerNavigationController, a subclass of UINavigationController, and in the context I’m using it the default nav bar button for the right side, “Cancel”, makes no sense. I can’t find a way to disable or hide it, and whatever method used needs to be public and store-approvable.
Getting rid of the nav bar entirely (picker.navigationBarHidden = YES;) might be an option except that after popping back to the list of contacts the nav bar reappears.
Subclassing ABPeoplePickerNavigationController and intercepting viewWillAppear to try and nil the cancel button did not work.
[picker setAllowsCancel:NO]; DOES work but is undocumented so I expect would never pass approval.
I’m using the ABPeoplePickerNavigationController, a subclass of UINavigationController, and in the context I’m using
Share
There is no answer to this – write a new person picker if you can’t live with the cancel.