美文网首页
ios 跳转到制定界面

ios 跳转到制定界面

作者: 鹏飞说 | 来源:发表于2017-10-18 10:51 被阅读8次

[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:([self.navigationController.viewControllers count] -2)] animated:YES];

for (UIViewController *temp in self.navigationController.viewControllers) {

if ([temp isKindOfClass:[你要跳转到的Controller class]]) {

[self.navigationController popToViewController:temp animated:YES];

}

}

相关文章

网友评论

      本文标题:ios 跳转到制定界面

      本文链接:https://www.haomeiwen.com/subject/izusuxtx.html