---
title: WKWindowFeatures
framework: webkit
role: symbol
role_heading: Class
path: webkit/wkwindowfeatures
---

# WKWindowFeatures

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

## Declaration

```swift
@MainActor class WKWindowFeatures
```

## Overview

Overview A WKWindowFeatures object contains the attributes that a webpage requests from its containing web view. You don’t create a WKWindowFeatures object directly. When a navigation action results in the display of a new web view, WKWebView creates this object and passes it to the 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](webkit/wkwindowfeatures/allowsresizing.md)
- [height](webkit/wkwindowfeatures/height.md)
- [width](webkit/wkwindowfeatures/width.md)
- [x](webkit/wkwindowfeatures/x.md)
- [y](webkit/wkwindowfeatures/y.md)

### Inspecting Visibility Properties

- [menuBarVisibility](webkit/wkwindowfeatures/menubarvisibility.md)
- [statusBarVisibility](webkit/wkwindowfeatures/statusbarvisibility.md)
- [toolbarsVisibility](webkit/wkwindowfeatures/toolbarsvisibility.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)

## See Also

### Web view configuration

- [WKWebViewConfiguration](webkit/wkwebviewconfiguration.md)
- [WKProcessPool](webkit/wkprocesspool.md)
- [WKPreferences](webkit/wkpreferences.md)
- [WKWebpagePreferences](webkit/wkwebpagepreferences.md)
