To run the example project, clone the repo, and run pod install
from the Example directory first.
This simple extension provides a way to determine if current UIViewController is modal
import UIViewController_isModal
//...
//Then use:
UIViewController.isModal
UIViewController+isModal is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "UIViewController+isModal"
benjdum59, [email protected]
UIViewController+isModal is available under the MIT license. See the LICENSE file for more info.