Override horizontally compact environment behaviour for modalPresentationStyle of '.formSheet'
问题 When presenting a UIViewController with modalPresentationStyle = .formSheet , Horizontally compact environment behaves same as UIModalPresentationStyle.fullScreen According to Apple's Documentation UIModalPresentationStyle.formSheet. In a horizontally regular environment, the view controller is sized so that its content area is smaller than the screen size and a dimming view is placed underneath the content. If the device is in a landscape orientation and the keyboard is visible, the position