Created
December 30, 2012 15:23
-
-
Save romyilano/4413283 to your computer and use it in GitHub Desktop.
adding a photo from an album
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (IBAction)addAlbumFoto:(id)sender { | |
| // summon mr. imagepicker! | |
| UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; | |
| [imagePicker setSourceType:UIImagePickerControllerSourceTypePhotoLibrary]; | |
| [imagePicker setDelegate:self]; | |
| [self presentViewController:imagePicker animated:YES completion:nil]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment