I am trying hard to understand how this works, but it\'s pretty hard for me. =) I have 1 view, there is one button and one small ImageView area for preview. The button trigg
Try this:
func imagePickerController(picker: UIImagePickerController!, didFinishPickingMediaWithInfo info:NSDictionary!) { let tempImage = info[UIImagePickerControllerOriginalImage] as! UIImage imagePreview.image = tempImage
or you can also use ? in place of !.
?
!