Yeah sure. you can pop to the root view controller
[self.navigationController popToRootViewControllerAnimated:YES];
EDIT
You can track the touch events by this delegate method
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
isTouched = YES;
}
Add a method in your class
- (void)goToRootViewController
{
if (isTouched == NO) {
[self.navigationController popToRootViewControllerAnimated:YES];
}
}
Call this method from viewDidLoad as:
[self performSelector:@selector(goToRootViewController) withObject:nil afterDelay:60.0];