Skip to content

Instantly share code, notes, and snippets.

@lovelock
Created November 20, 2015 11:39
Show Gist options
  • Save lovelock/1b4cc1766085fbd80df1 to your computer and use it in GitHub Desktop.
Save lovelock/1b4cc1766085fbd80df1 to your computer and use it in GitHub Desktop.
Why do I need to call this block of code when Cancel of imagePickerController is tapped?
func imagePickerControllerDidCancel(picker: UIImagePickerController) {
dismissViewControllerAnimated(true, completion: nil)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment