Hey guys i'm new at this in fact is the first time i try coding and im doing the foos tracker tutorial but ive run into some errors and i cant seem to solve them. the first one is the
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) {
that one has the yellow warning saying instance method
and the other one is the
guard let selectedImage = info[UIImagePickerControllerOriginalImage] as? UIImage else {
fatalError("Expected a dictionary containing an image, but was provided the following: \(info)")
}
which says "cannot subscript a value of type '[String : Any*' with an index of type 'ultimatePickerContriller.infoKey
ive been stuck in this for hours and im following the tutorial and cant seem to sove this
HELP PLS!!!