Skip to content

Instantly share code, notes, and snippets.

@djbriane
Created September 17, 2009 20:13
Show Gist options
  • Save djbriane/188683 to your computer and use it in GitHub Desktop.
Save djbriane/188683 to your computer and use it in GitHub Desktop.
- (void)imagePickerController:(UIImagePickerController *)picker
didFinishPickingImage:(UIImage *)selectedImage
editingInfo:(NSDictionary *)editingInfo {
// Save the image to the users album
if (picker.sourceType = UIImagePickerControllerSourceTypeCamera) {
UIImageWriteToSavedPhotosAlbum(selectedImage, nil, nil, nil);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment