<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKWindowFeatures",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKWindowFeatures"
  },
  "title" : "WKWindowFeatures"
}
-->

# WKWindowFeatures

Display-related attributes that a webpage requests for its window.

```
@MainActor class WKWindowFeatures
```

## Overview

A [`WKWindowFeatures`](/documentation/WebKit/WKWindowFeatures) object contains the attributes that a webpage requests from its containing web view. You don’t create a [`WKWindowFeatures`](/documentation/WebKit/WKWindowFeatures) object directly. When a navigation action results in the display of a new web view, [`WKWebView`](/documentation/WebKit/WKWebView) creates this object and passes it to the [`webView(_:createWebViewWith:for:windowFeatures:)`](/documentation/WebKit/WKUIDelegate/webView(_:createWebViewWith:for:windowFeatures:)) method of its UI delegate object. The delegate uses the information in this object to configure and return the new web view.

## Topics

### Inspecting Window Position and Dimensions

[`allowsResizing`](/documentation/WebKit/WKWindowFeatures/allowsResizing)

A Boolean value that indicates whether to make the containing window window resizable.

[`height`](/documentation/WebKit/WKWindowFeatures/height)

The requested height of the containing window.

[`width`](/documentation/WebKit/WKWindowFeatures/width)

The requested width of the containing window.

[`x`](/documentation/WebKit/WKWindowFeatures/x)

The requested x-coordinate of the containing window.

[`y`](/documentation/WebKit/WKWindowFeatures/y)

The requested y-coordinate of the containing window.

### Inspecting Visibility Properties

[`menuBarVisibility`](/documentation/WebKit/WKWindowFeatures/menuBarVisibility)

A Boolean value that indicates whether the webpage requests a visible menu bar.

[`statusBarVisibility`](/documentation/WebKit/WKWindowFeatures/statusBarVisibility)

A Boolean value that indicates whether the webpage requested a visible status bar.

[`toolbarsVisibility`](/documentation/WebKit/WKWindowFeatures/toolbarsVisibility)

A Boolean value that indicates whether the webpage requested a visible toolbar.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)