One Logo Pool Ball
_WebKit_SwiftUI · IOS API REFERENCE

WebView.ElementFullscreenBehavior

struct · iOS 26.0+ · SDK 27.1

struct ElementFullscreenBehavior

The behavior that determines whether a web view can display content full screen.

Members (3)

get · iOS 26.0+

enabled

TypeScript
static get enabled(): Promise<WebView_ElementFullscreenBehavior>
Swift declaration
static let enabled: WebView.ElementFullscreenBehavior

Element full screen is enabled. The web view allows content to be displayed in full screen.

get · iOS 26.0+

disabled

TypeScript
static get disabled(): Promise<WebView_ElementFullscreenBehavior>
Swift declaration
static let disabled: WebView.ElementFullscreenBehavior

Element full screen is disabled. The web view prevents content from being displayed in full screen.

get · iOS 26.0+

automatic

TypeScript
static get automatic(): Promise<WebView_ElementFullscreenBehavior>
Swift declaration
static let automatic: WebView.ElementFullscreenBehavior

The automatic behavior. The web view automatically chooses whether content can be displayed in full screen. By default, web views use the ``WebView/ElementFullscreenBehavior/disabled`` behavior.

Skipped declarations

No declarations were skipped in this snapshot.

All _WebKit_SwiftUI types →