Skip to content

benjdum59/UIViewController-isModal

Repository files navigation

UIViewController+isModal

CI Status Version License Platform

Usage

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

Requirements

Installation

UIViewController+isModal is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "UIViewController+isModal"

Author

benjdum59, [email protected]

License

UIViewController+isModal is available under the MIT license. See the LICENSE file for more info.