navigationController在pop时,指定pop到某个页面
2015-09-25 11:28
148 查看
navigationController在pop时,指定pop到某个页面,这个页面要在navigationController栈里有的
具体实现:
for (UIViewController *VC
in self.navigationController.viewControllers) {
if ([VC
isKindOfClass:[你要跳转的界面名称 class]])
{
[self.navigationController
popToViewController:VC
animated:YES];
}
}
具体实现:
for (UIViewController *VC
in self.navigationController.viewControllers) {
if ([VC
isKindOfClass:[你要跳转的界面名称 class]])
{
[self.navigationController
popToViewController:VC
animated:YES];
}
}
相关文章推荐
- Shell脚本调用mysql语句
- Sqoop问题总结
- Linux设备模型--kobject & kset
- Linux中find常见用法
- mesos和Elasticsearch设计(Docker部署)(二)
- Linux c 获取和设置本地时间的方法
- linux中Find命令的使用
- linux下文件数、目录数、文件名长度的各种限制
- Google Shell Style Guide
- Google Shell Style Guide
- linux分享一:进程全攻略--守护进程(服务)
- Linux中命令cat /proc/meminfo读出的内核信息进行解释
- Nginx——使用 Nginx 提升网站访问速度【转载+整理】
- 如何有效地防止网站和手机APP的数据被采集?
- 采用dlopen、dlsym、dlclose加载动态链接库
- 【转载】构建高并发高可用的电商平台架构实践
- 揭秘PowerShell 5.0新特性和新功能
- Linux下的主要的C语言编译器
- linux获取微秒级别时间
- 字符及文本处理之正则表达式:Linux/Unix工具与正则表达式的POSIX规范