I have tried every variation of dismissing a UIImagePickerController with out any luck. What am i doing wrong.
- (IBAction)choosePhoto { self.picker = [[
For Swift use this:
func imagePickerControllerDidCancel(picker: UIImagePickerController!) { picker.dismissViewControllerAnimated(true, completion: nil) }