
Hi,
Tell me how to back to my root or main view in my uinavigationcontroller based application. I will display the back view on click of a button in my iPhone and iPad based application. Give me any code for uinavigationcontroller back button action method.
Thanks for your kind help.

Hi Guys,
Did few research and found the following code:
[self.navigationController popToRootViewControllerAnimated:YES];
Thanks