Hi everyone,
I my iphone app I have a modal viewcontroller which slides up on top of navigationcontroller when the user presses a button. The thing is I would like the parent controller, in this case the navigationcontroller to push another view controller ones the modal view controller has gone if the user presses a certain button.
But I have tried methods like:
Code:
[self.navigationController presentModalViewController:self.myModalView animated:YES];
self.myModalView = nil;
if (myModalView.status == @"OKButton") {
[self.navigationController pushViewController:theOtherView animated:YES];
}
That doesn't work.
I also tried calling a method in the parent controller that would push the view from viewDidDisapear. That didn't work either.
PS: I would like the user to see the navigation immediately after the modal view slides down.
Any help would be appreciated. Thanks
JVPython