One Logo Pool Ball
_WebKit_SwiftUI · IOS API REFERENCE

WebView.MagnificationGesturesBehavior

struct · iOS 26.0+ · SDK 27.1

struct MagnificationGesturesBehavior

The options for controlling the behavior for how magnification gestures interact with web views.

Members (3)

get · iOS 26.0+

enabled

TypeScript
static get enabled(): Promise<WebView_MagnificationGesturesBehavior>
Swift declaration
static let enabled: WebView.MagnificationGesturesBehavior

Magnify gestures are enabled. The web view allows magnify gestures to change its magnification.

get · iOS 26.0+

disabled

TypeScript
static get disabled(): Promise<WebView_MagnificationGesturesBehavior>
Swift declaration
static let disabled: WebView.MagnificationGesturesBehavior

Magnify gestures are disabled. The web view prevents magnify gestures from changing its magnification.

get · iOS 26.0+

automatic

TypeScript
static get automatic(): Promise<WebView_MagnificationGesturesBehavior>
Swift declaration
static let automatic: WebView.MagnificationGesturesBehavior

The automatic behavior. The web view automatically chooses whether magnify gestures change the web view’s magnification. By default, web views use the ``WebView/MagnificationGesturesBehavior/enabled`` behavior.

Skipped declarations

No declarations were skipped in this snapshot.

All _WebKit_SwiftUI types →