preferredWindowingControlStyle(for:)
Called by the system to determine the windowing control style for the provided scene. automaticStyle will be used if this method is not implemented.
Declaration
optional func preferredWindowingControlStyle(for windowScene: UIWindowScene) -> UIWindowScene.WindowingControlStyle