Swift – UIImagePickerController – how to use it?

You’re grabbing a UIImage named UIImagePickerControllerOriginalImage and there exists no such image. You’re meant to grab the UIImage with the key UIImagePickerControllerOriginalImage from the editingInfo dictionary:

let tempImage = editingInfo[UIImagePickerControllerOriginalImage] as! UIImage

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)