pop a specific view controller

I have an hierarchy of 3 view controllers in my navigation bar controller: view1->view2->view3. After the user finished with view3 I want to take him to view1. What is the best approach to do that?




Assuming that view3 and view2 have already been pushed onto your navigation controller, you can use -[UINavigationController popToRootViewControllerAnimated:] or -[UINavigationController popToViewController:animated:] to accomplish this.

Need Your Help

Replace contained element text on mouseover

javascript jquery replace mouseover

I was just take a look at the answer by one user to question regarding switching out content over mouseover. The answer I am referring to is here: http://stackoverflow.com/a/3088819/532645

Table cell auto-set valign

javascript php html css table

I have multiple tables where some of the table cells have large rowspans and I just realised that all of their valign values aren't set at all. Is there an easy way to set the valign to all table c...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.