Get photo from photo library
<p>I use below code for get photo from photo library but with this code i can get photo that exist in save photo not all photo that exist in photo library</p>

<pre><code>-(void)addphoto
{
UIImagePickerController * picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
}

- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info 
{
 [picker dismissModalViewControllerAnimated:YES];
 UIImage *takephoto = [info objectForKey:@"UIImagePickerControllerOriginalImage"];
 [self srAdd:takephoto];
}//imagePuckerController
</code></pre>
