From the FirstView to the SecondView i will be navigating through pushViewController.
In the SecondView there’s a button, when i click that i will be calling another view which is called ThirdView, and i will be navigating through presentModalViewController animated:YES.
I need a code, to go from the ThirdViewController to FirstViewController, How can i do that ?
I have not tried any code, because i am clueless as what to do
You can use delegate to move back to the first view controller… On cancel button in the THIRD, delegate some method to the SECOND, where you:
1) [self dismissModalViewControllerAnimated:YES];
and
2) [[self navigationController] popViewControllerAnimated:NO];
FIRST would be active as a result