How can I imitate back button (navigation bar) using code?
I want return from detail view to master view with code.
Thanks
How can I imitate back button (navigation bar) using code?
I want return from detail view to master view with code.
Thanks
[self.navigationController popViewControllerAnimated:YES];
That will "pop" (opposite of push) the current view controller off the navigation stack. Exactly what the back button does.