Quote:
Originally Posted by cliaco
Hello,
I would like to update the opener view when dismissModalViewControllerAnimated is fired.
I explain my problem :
I have a view (view1) containing a uiimageview. When I click on this image, I push a new view (view2). In this new view I can create an image and save it in the app folder. When I return to view1 with dismissModalViewControllerAnimated I would like to update the imageview in view1 and show the new image.
Can I update the uiimageview from view2 (and how can i do that) ?
or can I detect the dismiss in view1 and update the uiimageview when returning.
I thank you for any idea or advice on how to solve this question.
Christophe
|
Hey I had the same problem except it was with a web view. After your dismissModalViewController Line I would call this method. I'm not quite sure if this helps but here is my code for that:
Code:
-(void)awakeFromNib
{
[myWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"URL"]]];
}