<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSAttributedString/DocumentReadingOptionKey/webResourceLoadDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation",
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSWebResourceLoadDelegateDocumentOption"
  },
  "title" : "webResourceLoadDelegate"
}
-->

# webResourceLoadDelegate

An object to serve as the web resource loading delegate.

```
static let webResourceLoadDelegate: NSAttributedString.DocumentReadingOptionKey
```

## Discussion

For HTML only. The value is an <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class>.

If not present, a default delegate is used that permits the loading of subsidiary resources but does not respond to authentication challenges. The previous string constant was `@"WebResourceLoadDelegate"`.

---

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)