UINavigationController *parentViewController = (UINavigationController*)self.navigationController.parentViewController ;
NSLog([ parentViewController.topViewController description ]);
UINavigationController
本文提供了一段Objective-C代码示例,展示了如何通过UINavigationController获取其顶级视图控制器并打印描述信息。
UINavigationController *parentViewController = (UINavigationController*)self.navigationController.parentViewController ;
NSLog([ parentViewController.topViewController description ]);
1万+

被折叠的 条评论
为什么被折叠?