Handy methods for UIViewController related to UIApplication
Objective-C Ruby
Switch branches/tags
Nothing to show
Latest commit 8b1a97d May 18, 2017 @pgbo add `author` in pod spec file
Permalink
Failed to load latest commit information.
Classes
.gitignore
LICENSE
README.md
UIApplication-ViewControllerHandy.podspec

README.md

UIApplication-ViewControllerHandy

Handy methods for UIViewController related to UIApplication

/*
 * Get the presented Navigation controller
 */
- (UINavigationController *)presentedNavigationController
/*
 * Get the presented view controller
 */
- (UIViewController *)topmostPresentedViewController
/*
 * Get displaying view controller
 */
- (UIViewController *)topmostDisplayingViewController
/*
 * Pop or dismiss the view controllers which level is higher than the given viewController
 */
- (void)popOrDismissHighLevelViewControllerToViewController:(UIViewController *)viewController
                                                   animated:(BOOL)animated