windowingBehaviors
An object that specifies the behaviors of the window.
Declaration
var windowingBehaviors: UISceneWindowingBehaviors? { get }Discussion
For Mac apps built with Mac Catalyst, use this property to specify whether the scene’s window displays minimize and close buttons. This property is nil on unsupported platforms.