using popToViewController


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. // i is the index of the controller in stack
  2.  
  3. [self.navigationController popToViewController: [self.navigationController.viewControllers objectAtIndex:i] animated:YES];

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.