                     backdropView.pinToSuperviewEdges()
                     backdropView.backgroundColor = backdropColor
                     backdropView.alpha = 0.0
+//                    backdropView.addGestureRecognizer(tapGestureRecognizer)
                 }
             }
         }

    // MARK: - Private functions

    private func presentedFrameInContainerView(containerView: UIView) -> CGRect {
        // TODO: Use AutoLayout
        var frame = containerView.bounds
        frame.origin.x += leftInset
        frame.origin.y += topInset + (belowTopGuide ? 64.0 : 0.0) // TODO: Get layout guide y

                containerView.insertSubview(toViewController.view, aboveSubview: fromViewController!.view)
            } else {
                containerView.insertSubview(toViewController.view, belowSubview: fromViewController!.view)
                // Force layout of subviews in final positions (eg view controllers inset inside a navigation controller):
                toViewController.viewDidAppear(false)
            }
            if fadeTo {
                toViewController.view.frame = containerView.bounds
