Hi I was trying to make the following thig but ...
I have 3 UIViewController subclasses named First, Second and Third and I was trying to make that: From First to go to Second then to Third and from Third to back to First but with no success.
I'm using this:
Code:
- (IBAction) goToSecond: (id) sender {
self.second = [[[Second alloc] initWithNibName:@"Second" bundle:nil] autorelease];
self.second.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:self.second animated:YES];
}
to go to other view and this
Code:
- (IBAction) popSecond {
[self dismissModalViewControllerAnimated:YES];
}
to back to previous but I don't know how to go back to other than previous in the stack?
Any help?
Best regards G.Petrov