prefersPageSizing
A Boolean value that indicates whether the sheet sizes itself for readable content.
Declaration
var prefersPageSizing: Bool { get set }Discussion
The default value is true. The default value indicates the sheet uses UIModalPresentationStyle.pageSheet behavior, in which the sheet width follows the readable width.
When the value is set to false, the sheet uses UIModalPresentationStyle.formSheet behavior, in which the sheet size follows the presented view controller’s preferredContentSize.