title: didFinishPickingMediaWithInfo not working when calling
body: <p>I tried this code to update the picture, but this function wasn't called.</p>
  <pre><code>extension ChildDetailEditVC: UIImagePickerControllerDelegate, UINavigationControllerDelegate {
      
      func imagePickerControllerDidCancel(_ picker: UIImagePickerController) {
          self.dismiss(animated: true, completion: nil)
      }
      
      func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) {
          let chosenImage = info[UIImagePickerController.InfoKey.editedImage] as! UIImage
          imageChild.image = chosenImage
          dismiss(animated:true, completion: nil)
      }
  }
  </code></pre>