On didSelect
of CNContachPicker I'm calling one segue but that is not working as when user clicks on any contact didSelect
is first called then dismiss. How to handle such scenarios ?
func contactPicker(_ picker: CNContactPickerViewController, didSelect contact: CNContact) {
self.performSegue(withIdentifier: "AToB", sender: contact)
}