Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

srikanthrongali

macrumors newbie
Original poster
Apr 30, 2010
21
0
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.
 
Now I want to return back to the view1. I used removeFromSuperView, dismissModelViewController but I could not go to first view ?
How did you use them? Provide some code, please. Plus, you shouldn't need to worry about removeFromSuperview (please note the case). dismissModalViewController (please note the spelling) should be sufficient to return to view1.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.