Set parameter to super view after dismissModalViewControllerAnimated

Posted by user536926 on Stack Overflow See other posts from Stack Overflow or by user536926
Published on 2010-12-22T19:38:40Z Indexed on 2010/12/22 20:54 UTC
Read the original article Hit count: 133

Filed under:
|
|
|

Hi,

I have 2 view (view A and view B).

In viewA when I touch a button I execute this code to flip a viewB:

viewB.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:viewB animated:YES];

And now when I came back to viewA I use this code:

[self dismissModalViewControllerAnimated: YES]; //here is my problem

I need to set same parameters to viewA when I execute dismiss. How can I do it?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c