A type that defines the behavior of how horizontal swipe gestures trigger backward and forward page navigation.
Members (3)
get · iOS 26.0+
enabled
TypeScript
static get enabled(): Promise<WebView_BackForwardNavigationGesturesBehavior>
Swift declaration
static let enabled: WebView.BackForwardNavigationGesturesBehavior
Backward and forward navigation gestures are enabled.
The web view allows horizontal swipe gestures to trigger backward and forward page navigation.
get · iOS 26.0+
disabled
TypeScript
static get disabled(): Promise<WebView_BackForwardNavigationGesturesBehavior>
Swift declaration
static let disabled: WebView.BackForwardNavigationGesturesBehavior
Backward and forward navigation gestures are disabled.
The web view prevents horizontal swipe gestures from triggering backward and forward page navigation.
get · iOS 26.0+
automatic
TypeScript
static get automatic(): Promise<WebView_BackForwardNavigationGesturesBehavior>
Swift declaration
static let automatic: WebView.BackForwardNavigationGesturesBehavior
The automatic behavior.
The web view automatically chooses whether horizontal swipe gestures trigger backward and forward page navigation.
By default, web views use the ``WebView/BackForwardNavigationGesturesBehavior/enabled`` behavior.