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.