// On iOS 7.x or earlier, a selected person is returned with this method.
        private void HandleSelectPerson(object sender, ABPeoplePickerSelectPersonEventArgs e)
        {
            var peoplePicker = (ABPeoplePickerNavigationController)sender;

            ResultLabel.Text = PersonFormatter.GetPickedName(e.Person);

            peoplePicker.DismissViewController(true, null);
            e.Continue = false;
        }
 // On iOS 8.0, a selected person is returned with this method.
 void HandleSelectPerson2(object sender, ABPeoplePickerSelectPerson2EventArgs e)
 {
     ResultLabel.Text = PersonFormatter.GetPickedName(e.Person);
 }