Example #1
0
 public void DidComplete(CNContactViewController viewController, CNContact contact)
 {
     base.NavigationController.PopViewController(true);
     if (contact != null)
     {
         base.NavigationController.ShowAlert($"{contact.GetFormattedName()} was successsfully added.");
     }
 }
Example #2
0
        public void DidSelectContact(CNContactPickerViewController picker, CNContact contact)
        {
            var name = contact?.GetFormattedName();

            if (!string.IsNullOrEmpty(name))
            {
                this.message = $"{name} was selected.";
            }
        }