[PPT] Error creating the CFMessagePort needed to communicate with PPT.
Has anyone resolved this issue?
Has anyone resolved this issue?
Code Block func contactPicker(_ picker: CNContactPickerViewController, didSelect contact: CNContact) { let emailNumberCount = contact.emailAddresses.count guard emailNumberCount > 0 else { actionOwnerEmail.text = "" dismiss(animated: true, completion: nil) let alert = UIAlertController(title: "No email found", message: "Please add email to your addressbook", preferredStyle: .alert) alert.addAction(UIAlertAction(title: "OK", style: .default, handler: nil)) self.present(alert, animated: true) return } let email = contact.emailAddresses[0].value as String actionOwnerEmail.text = email } func contactPickerDidCancel(_ picker: CNContactPickerViewController) { dismiss(animated: true, completion: nil) }