---
title: "preferredWindowingControlStyle(for:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiwindowscenedelegate/preferredwindowingcontrolstyle(for:)"
---

# 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

```swift
optional func preferredWindowingControlStyle(for windowScene: UIWindowScene) -> UIWindowScene.WindowingControlStyle
```
