Open stephen-talari opened 8 years ago
I have some callbacks in AppDelegate which are called when internet connection is lost, based on that callback i have to show some subview on current view. How can i get current view controller?
I'm doing this:
UIViewController *topController = self.window.rootViewController; while (topController.presentedViewController) topController = topController.presentedViewController;
I have some callbacks in AppDelegate which are called when internet connection is lost, based on that callback i have to show some subview on current view. How can i get current view controller?