func modalViewControllerWillDismiss()

in Sources/UberRides/ModalViewController.swift [67:82]


    func modalViewControllerWillDismiss(_ modalViewController: ModalViewController)
    
    /**
     Called after the ModalViewController is dismissed.
     
     - parameter modalViewController: The ModalViewController that was dismissed
     */
    func modalViewControllerDidDismiss(_ modalViewController: ModalViewController)
}

/**
 Convenience to wrap a ViewController in a UINavigationController and add the appropriate buttons. Allows you to modally present a view controller w/ Uber branding.
 - Warning: The Ride Request Widget is deprecated, and will no longer work for new apps.
 Existing apps have until 05/31/2018 to migrate. See the Uber API Changelog for more details.
*/
public class ModalViewController : UIViewController {