I would like to find a way so that if the user clicks the Cancel button (which, in my opinion, cannot be deleted) in the ABPeoplePickerNavigationController , the view controller will either not close or will automatically resume.
For example, given the following:
var picker = ABPeoplePickerNavigationController() picker.peoplePickerDelegate = self self.presentViewController(picker, animated: true, completion: nil)
I would like to do something like:
if (self.presentedViewController != picker && !userContinuedPastPicker) {
This does not work; however, since the if will not βwaitβ until the user presses the cancel button or presses the contact.
ios swift uinavigationcontroller abaddressbook presentviewcontroller
Randoms
source share