摘要: UIViewController *controller; UIView *view = self.view; while (1) { controller = (UIViewController *)view.nextResponder; if (![controller isKindOfClass:[UIViewControllerclass]] || controller.navigationController == nil) view = view.superview; else break; } 阅读全文
posted @ 2014-02-20 14:14 hellocby 阅读(6327) 评论(0) 推荐(0) 编辑