导航(NavanavigationController)push和pop

 

//跳转到指定的控制器

for (UIViewController *Vc in self.navigationController.viewControllers) {
  if ([Vc isKindOfClass:[WJPersonCenterViewController class]]) {
  [self.navigationController popToViewController:Vc animated:YES];
  }
}

posted @ 2015-11-01 01:36  TheYouth  阅读(304)  评论(0编辑  收藏  举报