GroupedControllerDismissal 1.0.1

GroupedControllerDismissal 1.0.1

Maintained by Siarhei Ladzeika.



  • By
  • Siarhei Ladzeika

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

LICENSE

See LICENSE