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

                containerView.insertSubview(toViewController.view, aboveSubview: fromViewController!.view)
            } else {
                containerView.insertSubview(toViewController.view, belowSubview: fromViewController!.view)
            }
            if fadeTo {
                toViewController.view.frame = containerView.bounds

            transitionContext.completeTransition(!transitionContext.transitionWasCancelled())
        }
    }
    
}
