iOS POP到指定的界面的方法
2015-08-21 15:53
141 查看
int index = (int)[[self.navigationController viewControllers]indexOfObject:self];
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:(index -2)] animated:YES];
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:(index -2)] animated:YES];
相关文章推荐
- ios新技术文章转载链接汇总
- iOS开发中一些实用小代码
- IOS项目之AFNetworking中文乱码问题
- 如何在iphon IOS设备上使用二维码
- [IOS]CoreAnimation基础[翻译3部分]
- IOS比较常用的第三方及实例(不断更新中)
- iOS小问题——关于使用IQKeyBoardManager第三方的坑
- 快速掌握iOS API的一个小技巧
- IOS笔记061之二维码的生成和扫描
- iOS 制作圆形头像
- ios8 tableView设置滑动删除时显示多个按钮
- iOS学习笔记14-CocoaPods pod install/pod update更新慢的问题
- iOS学习笔记13-iOS 'The sandbox is not sync with the Podfile.lock'问题解决
- iOS自定义TextField的clearButton
- Xamarin.ios 解决new NSUrl 返回为空的方法。
- iOS 项目的目录结构能看出你的开发经验
- __weak与__block区别
- iOS的三维透视投影
- iOS动画效果和实现
- IOS常用第三方库