I am trying to use the "convertFromUIImagePickerControllerInfoKeyDictionary" and "convertFromUIImagePickerControllerInfoKey" identifiers in xcode 11.3.1. I am getting errors for unresolved identifiers for both.
This is the code
This is the code
Code Block func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) { let info = convertFromUIImagePickerControllerInfoKeyDictionary(info) avaImg.image = info[convertFromUIImagePickerControllerInfoKey(UIImagePickerController.InfoKey.editedImage)] as? UIImage self.dismiss(animated: true, completion: nil)