---
title: isElementFullscreenEnabled
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkpreferences/iselementfullscreenenabled
---

# isElementFullscreenEnabled

A Boolean value that indicates whether a web view can display content full screen.

## Declaration

```swift
var isElementFullscreenEnabled: Bool { get set }
```

## Discussion

Discussion The default value for this preference is false. important: When this value is true and a page requests full-screen mode, the system removes the WKWebView from your app’s view hierarchy.

## See Also

### Setting Behavior Preferences

- [tabFocusesLinks](webkit/wkpreferences/tabfocuseslinks.md)
- [isTextInteractionEnabled](webkit/wkpreferences/istextinteractionenabled.md)
- [inactiveSchedulingPolicy](webkit/wkpreferences/inactiveschedulingpolicy-swift.property.md)
- [WKPreferences.InactiveSchedulingPolicy](webkit/wkpreferences/inactiveschedulingpolicy-swift.enum.md)
