Declared in UIViewController+FLBugKit.h
UIViewController+FLBugKit.m

Overview

Utilities that are helpful for interacting with FLBugKit and standard UIViewControllers provided by UIKit.

Tasks

  • – findTopMostViewController

    With a controller of controllers it is not always obvious which one the user is currently interacting with. findTopMostViewController is a simple search that looks for the top most view controller if the root is a UINavigationController or the active tab in the case of a UISplitViewController.

Instance Methods

findTopMostViewController

With a controller of controllers it is not always obvious which one the user is currently interacting with. findTopMostViewController is a simple search that looks for the top most view controller if the root is a UINavigationController or the active tab in the case of a UISplitViewController.

- (UIViewController *)findTopMostViewController

Return Value

view controller user is likely interacting with

Discussion

With a controller of controllers it is not always obvious which one the user is currently interacting with. findTopMostViewController is a simple search that looks for the top most view controller if the root is a UINavigationController or the active tab in the case of a UISplitViewController.

Declared In

UIViewController+FLBugKit.h