views:

280

answers:

0

How can I use [self dismissModalViewControllerAnimated:true]; to slide one view down while a new view slides up. It would have to be some code like (which seems like it would do what I want, but it doesn't):

[self dismissModalViewControllerAnimated:true];
ViewController1 *controller = [[ViewController1 alloc] initWithNibName: @"ViewController1" bundle: nil];
[self presentModalViewController:controller animated: YES];
Just so that when the new view slides down, it will show the view that was under the view that slid that view up (V1 -SlidesOpen-> V2 -SlidesOpen-> V3 --SlidesClosed,Showing-> V1)