UIViewController 的属性presentingViewController
来源:互联网 发布:汽车配件编号查询软件 编辑:程序博客网 时间:2024/05/11 02:39
// The view controller that presented this view controller (or its farthest ancestor.)
@property(nonatomic,readonly) UIViewController *presentingViewController NS_AVAILABLE_IOS(5_0);
@property(nonatomic,readonly) UIViewController *presentingViewController NS_AVAILABLE_IOS(5_0);
a present b,b present c 。 现在要从c中直接回到a
if ([self respondsToSelector:@selector(presentingViewController)]) {
[self.presentingViewController dismissViewControllerAnimated:YES completion:NULL];
}
[self.presentingViewController dismissViewControllerAnimated:YES completion:NULL];
}
0 0
- UIViewController 的属性presentingViewController
- 对UIViewController的presentedViewController,presentingViewController这两个属性的了解
- UIViewController的presentedViewController,presentingViewController和parentViewController三个属性
- UIViewController属性presentedViewController,presentingViewController和parentViewController区别
- UIViewController的edgesForExtendedLayout属性
- <iOS>UIViewController的edgesForExtendedLayout属性
- iOS UIViewController的edgesForExtendedLayout属性
- UIViewController生命周期和属性方法的解析
- UIViewController使用属性modalPresentationStyle
- IOS5之后添加的 UIViewController的属性和方法
- 给UIViewController的UINavigationController属性赋值的方法
- UIViewController的parentViewController属性在iOS5下发生了改变
- OS5中 UIViewController的parentViewController属性发生了改变
- UIViewController的一些属性(CATrasition转场动画)
- UIViewController中edgesForExtendedLayout属性的画面切断现象
- 把uiviewcontroller对象作为某个类的属性
- 把uiviewcontroller对象作为某个类的属性
- UIViewController 的addChildViewController:(UIViewController *) 方法
- 线程池
- poj 1300Nearest Common Ancestors
- MODEL/VIEW (七)
- 海思3531芯片资料汇总
- 通过ADB启动手机端APK
- UIViewController 的属性presentingViewController
- MySQL Cluster 7.3.5 installation and configuration
- java处理高并发高负载类网站的优化方法
- hdu 2604 矩阵快速幂模板题
- Android驱动中的Kconfig文件与Makefile文件
- 样式表以及Color.xml文件『Android系列六』
- Oracle错误代码大全
- IOS UITableView
- 乐视笔试题