UISceneSizeRestrictions
An object that specifies the minimum and maximum sizes for resizable windows.
Declaration
@MainActor class UISceneSizeRestrictionsOverview
Don’t create a UISceneSizeRestrictions object yourself. Instead, fetch an existing one from the sizeRestrictions property of your window scene, and modify its properties to set the minimum and maximum window sizes:
The system provides this object only when it supports variable-sized windows.