<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebView-swift.struct/BackForwardNavigationGesturesBehavior",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WebKit",
      "SwiftUI",
      "_WebKit_SwiftUI"
    ],
    "preciseIdentifier" : "s:15_WebKit_SwiftUI0A4ViewV37BackForwardNavigationGesturesBehaviorV"
  },
  "title" : "WebView.BackForwardNavigationGesturesBehavior"
}
-->

# WebView.BackForwardNavigationGesturesBehavior

A type that defines the behavior of how horizontal swipe gestures trigger backward and forward page navigation.

```
struct BackForwardNavigationGesturesBehavior
```

## Topics

### Type Properties

[`static let automatic: WebView.BackForwardNavigationGesturesBehavior`](/documentation/WebKit/WebView-swift.struct/BackForwardNavigationGesturesBehavior/automatic)

The automatic behavior.

[`static let disabled: WebView.BackForwardNavigationGesturesBehavior`](/documentation/WebKit/WebView-swift.struct/BackForwardNavigationGesturesBehavior/disabled)

Backward and forward navigation gestures are disabled.

[`static let enabled: WebView.BackForwardNavigationGesturesBehavior`](/documentation/WebKit/WebView-swift.struct/BackForwardNavigationGesturesBehavior/enabled)

Backward and forward navigation gestures are enabled.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)