title: How is it possible when opening a UISheetPresentationController, the ViewController under to remain the same and to not shrink?
body: <p>I have created a View Controller called RegistrationFormViewController, which is a basic registration form which opens on tap of the main view controller button. The question: Is there any possibility that when opening a UiSheetPresentationController the view controller behind to not shrink?</p>
  <p>Snippet of my code when adding the UISheetPresentationController:</p>
  <pre><code>@objc func registerSheet(){
      var registrationSheet = RegistrationFormViewController()
     
      if #available(iOS 15.0, *) {
          if let sheet  = registrationSheet.presentationController as? UISheetPresentationController{
              sheet.detents = [.medium()]
          }
      } else {
          self.present(registrationSheet, animated: true, completion: nil)
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/oBp8Y.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oBp8Y.jpg" alt="enter image description here" /></a></p>