         self.containerView.backgroundColor = UIColor.clear
         self.view.addSubview(self.containerView)
 
-        self.bottomConstraint = NSLayoutConstraint(bottomOf: self.containerView, to: self.view)
+        self.bottomConstraint = NSLayoutConstraint(bottomOf: self.containerView, to: self.view, distance: -12)
         self.keyboardConstraintAdjuster.constraint = self.bottomConstraint
         self.view.addConstraints([
             self.bottomConstraint,
-            NSLayoutConstraint(item: self.containerView, attribute: .top, relatedBy: .equal, toItem: self.topLayoutGuide, attribute: .bottom, multiplier: 1, constant: 0),
-            NSLayoutConstraint(leftOf: self.containerView, to: self.view),
-            NSLayoutConstraint(rightOf: self.containerView, to: self.view),
+            NSLayoutConstraint(item: self.containerView, attribute: .top, relatedBy: .equal, toItem: self.topLayoutGuide, attribute: .bottom, multiplier: 1, constant: 12),
+            NSLayoutConstraint(leftOf: self.containerView, to: self.view, distance: 12),
+            NSLayoutConstraint(rightOf: self.containerView, to: self.view, distance: 12),
         ])
 
         self.modalTransitionStyle = .crossDissolve


    @available(*, deprecated, message: "Use extension on UIViewController instead")
    public convenience init(rootViewController: UIViewController, maxWidth: CGFloat?, maxHeight: CGFloat?) {
        self.init(root: rootViewController, maxWidth: maxWidth, maxHeight: maxHeight)
    }

    fileprivate init(root: UIViewController, maxWidth: CGFloat?, maxHeight: CGFloat?) {
        self.maxWidth = maxWidth
        self.maxHeight = maxHeight
        self.rootViewController = root

            NSLayoutConstraint(item: rootViewController.view, attribute: .top, relatedBy: .greaterThanOrEqual, toItem: self.containerView, attribute: .top, multiplier: 1, constant: 0),
            NSLayoutConstraint(item: rootViewController.view, attribute: .left, relatedBy: .greaterThanOrEqual, toItem: self.containerView, attribute: .left, multiplier: 1, constant: 0),
        ])

        let widthConstraint = NSLayoutConstraint(item: rootViewController.view, attribute: .width, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1, constant: maxWidth)
        widthConstraint.priority = 750
        rootViewController.view.addConstraint(widthConstraint)
        let heightConstraint = NSLayoutConstraint(item: rootViewController.view, attribute: .height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1, constant: maxHeight)
        heightConstraint.priority = 750
        rootViewController.view.addConstraint(heightConstraint)
    }

    public override var preferredStatusBarStyle: UIStatusBarStyle {
