Cannot subscript a value of type [String : Any]with an index of type UIImagePickerController.InfoKey
//4.0
if let possibleImage = info[UIImagePickerControllerEditedImage] as? UIImage {
newImage = possibleImage
} else {
return
}
//4.2
guard let possibleImage = info[.originalImage] as? UIImage
else {
fatalError("Expected a dictionary containing an image, but was provided the following: \(info)")
return
}
newImage = possibleImage

