People Picker with ios 7, and ios 8 [duplicate]
问题 This question already has answers here : ABPeoplePickerNavigationController changes with iOS8? (3 answers) Closed 5 years ago . I have people picker working on ios 7, and I'm trying to add compatibility for ios 8. I've added both methods into one but I get an error that says expected identifier or '(' on the opening bracket before NSString *contactName. Any suggestions would be great! - (void)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker didSelectPerson: