<!--
{
  "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/LinkPreviewBehavior",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WebKit",
      "SwiftUI",
      "_WebKit_SwiftUI"
    ],
    "preciseIdentifier" : "s:15_WebKit_SwiftUI0A4ViewV19LinkPreviewBehaviorV"
  },
  "title" : "WebView.LinkPreviewBehavior"
}
-->

# WebView.LinkPreviewBehavior

A type specifying the behavior for the presentation of link previews when pressing a link.

```
struct LinkPreviewBehavior
```

## Topics

### Type Properties

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

The automatic behavior.

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

Link previews are disabled.

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

Link previews 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)