Hi!
I defined the following property in my subclass of UIViewController called ExperimentViewController:
Code:
@property (nonatomic, retain) UIImage *store;
which i used to hold the camera image from the iphone camera with
Code:
-(void)imagePickerController:(UIImagePickerController *)picker
didFinishPickingMediaWithInfo:(NSDictionary *) info {
store = [info objectForKey:UIImagePickerControllerEditedImage];
[picker dismissModalViewControllerAnimated:YES];
}
The problem comes about when I try to set UIImageView *imageView to store in a subClass of ExperimentViewController with in the viewDidLoad of the subClass
Code:
imageView.image = store;
The image does not come out at all. However, using the nib to set imageView to a png in my resources works out fine.
Any help would be much appreciated.
Thanks in advance!