I have 2 views which are part of UITabBarController. For each view I declared a different class.
PictureViewController
with the method:
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)editingInfo
{
[imagePicker dismissModalViewControllerAnimated:YES];
[imageField setImage:image];
}
And another view: AdjustViewController
with another UIImage:
@property (weak, nonatomic) IBOutlet UIImageView *viewImage;
I would like in the above method - didFinishPickingImage to set the value of viewImage in AdjustViewController
to the selected image.
How can I do it?