         animations: {
           viewStartConstraint.isActive = false
           viewEndConstraint.isActive = true
+          self.contentViewSafeAreaGuideConstraint?.isActive = true
           self.delegate?.animationBlockForPresentation?(self)
           self.view.alpha = self.animationEndAlpha
           self.view.superview!.layoutIfNeeded()

      UIView.animate(
        withDuration: self.dismissalDuration, animations: {
          viewEndConstraint.isActive = false
          viewStartConstraint.isActive = true
          self.delegate?.animationBlockForDismissal?(self)
          self.view.alpha = self.animationStartAlpha

    view.centerXAnchor.constraint(equalTo: view.superview!.centerXAnchor).isActive = true
    view.leadingAnchor.constraint(equalTo: view.superview!.leadingAnchor).isActive = true
    view.trailingAnchor.constraint(equalTo: view.superview!.trailingAnchor).isActive = true

    delegate?.animatorDidLayout?(self)
    calculateSpringAnimationPadding()
  }

