sizeRestrictions
The minimum and maximum size of the app’s windows.
Declaration
var sizeRestrictions: UISceneSizeRestrictions? { get }Discussion
When the value of this property is not nil, use it to change the default minimum and maximum window sizes for your app. If the value of this property is nil, the system doesn’t allow you to set window size restrictions.