An object that specifies the minimum and maximum sizes for resizable windows.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
Framework
- UIKit
Declaration
class UISceneSizeRestrictions : NSObject
Overview
Do not create a UIScene
object yourself. Instead, fetch an existing one from the size
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.