How to tell if UIViewController's view is visible

参考: http://stackoverflow.com/questions/2777438/how-to-tell-if-uiviewcontrollers-view-is-visible
if (viewController.isViewLoaded && viewController.view.window) {
// viewController is visible
}

posted @ 2016-06-15 14:18  qike  阅读(125)  评论(0编辑  收藏  举报