I'm using the UIImagePickerController to allow the user to select a photo from their library. I then want to assign the chosen image with this code;
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary )info { UIImage image = [info objectForKey:UIImagePickerControllerOriginalImage]; [users_pic_ setImage:image]; [self dismissModalViewControllerAnimated:YES]; }
But the users pic never changes.
users_pic_ is defined as: UIImageView* user_pic_;
Anybody notice anything wrong? Thanks