I have a UIViewController *view1. By using
[self presentModalViewController:view2 animated:YES];
I added UIViewController *view2 to view1.
I have a UITableViewController *table1;
I added table1 to view2 by using
[self.view addSubview:navController.view];
Now I want to return back to the view1. I used removeFromSuperView, dismissModelViewController but I could not go to first view ?
How should we use them ?
Thank you.
[self presentModalViewController:view2 animated:YES];
I added UIViewController *view2 to view1.
I have a UITableViewController *table1;
I added table1 to view2 by using
[self.view addSubview:navController.view];
Now I want to return back to the view1. I used removeFromSuperView, dismissModelViewController but I could not go to first view ?
How should we use them ?
Thank you.