GroupedControllerDismissal
UIViewController extension to enable dismissing of stack of modal controller as single element.
NOTE: At current moment only fullscreen mode is supported
Installation
Cocoapods
pod 'GroupedControllerDismissal'
Usage
All controllers
import GroupedControllerDismissal
UIViewController.dismissModalAsGrouped = true
One controller
import GroupedControllerDismissal
func viewDidLoad() {
super.viewDidLoad()
self.dismissModalAsGrouped
}
or
import GroupedControllerDismissal
someController.dismissGrouped(true, completion: nil)
Authors
- Siarhei Ladzeika [email protected]
LICENSE
See LICENSE