---
title: height
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwindowfeatures/height
---

# height

The requested height of the containing window.

## Declaration

```swift
var height: NSNumber? { get }
```

## Discussion

Discussion The object in this property contains a CGFloat value. If the webpage didn’t request a specific window height, this property is nil.

## See Also

### Inspecting Window Position and Dimensions

- [allowsResizing](webkit/wkwindowfeatures/allowsresizing.md)
- [width](webkit/wkwindowfeatures/width.md)
- [x](webkit/wkwindowfeatures/x.md)
- [y](webkit/wkwindowfeatures/y.md)
