mcconkiee
4/11/2014 - 7:50 PM

Get top most view iOS From http://stackoverflow.com/questions/6131205/iphone-how-to-find-topmost-view-controller

+ (UIViewController*) topMostController
{
    UIViewController *topController = [UIApplication sharedApplication].keyWindow.rootViewController;

    while (topController.presentedViewController) {
        topController = topController.presentedViewController;
    }

    return topController;
}