imagePickerController won't return camera photo. Will return album photo.
Posted
by yesimarobot
on Stack Overflow
See other posts from Stack Overflow
or by yesimarobot
Published on 2010-04-14T21:56:35Z
Indexed on
2010/04/14
22:13 UTC
Read the original article
Hit count: 199
iphone
|uiimagepickercontroller
i'm loading photos from my library just fine, but photos coming from he camera don't display in the imageView. I've used CFShow(info) and the data from the camera is not nil...
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
UIImage *image = [info objectForKey:@"UIImagePickerControllerEditedImage"];
[self.imageView setImage:image];
[self dismissModalViewControllerAnimated:YES];
[picker release];
}
© Stack Overflow or respective owner