<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKWebView/handlesURLScheme(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKWebView(cm)handlesURLScheme:"
  },
  "title" : "handlesURLScheme(_:)"
}
-->

# handlesURLScheme(_:)

Returns a Boolean value that indicates whether WebKit natively supports resources with the specified URL scheme.

```
class func handlesURLScheme(_ urlScheme: String) -> Bool
```

## Parameters

`urlScheme`

The URL scheme associated with the resource.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if WebKit provides native support for the URL scheme, or <doc://com.apple.documentation/documentation/Swift/false> if it doesn’t.

## Discussion

---

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)