---
title: webResourceLoadDelegate
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsattributedstring/documentreadingoptionkey/webresourceloaddelegate
---

# webResourceLoadDelegate

An object to serve as the web resource loading delegate.

## Declaration

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

## Discussion

Discussion For HTML only. The value is an NSObject. 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".

## See Also

### Getting the document options

- [baseURL](foundation/nsattributedstring/documentreadingoptionkey/baseurl.md)
- [characterEncoding](foundation/nsattributedstring/documentreadingoptionkey/characterencoding.md)
- [defaultAttributes](foundation/nsattributedstring/documentreadingoptionkey/defaultattributes.md)
- [documentType](foundation/nsattributedstring/documentreadingoptionkey/documenttype.md)
- [fileType](foundation/nsattributedstring/documentreadingoptionkey/filetype.md)
- [readAccessURL](foundation/nsattributedstring/documentreadingoptionkey/readaccessurl.md)
- [textEncodingName](foundation/nsattributedstring/documentreadingoptionkey/textencodingname.md)
- [textSizeMultiplier](foundation/nsattributedstring/documentreadingoptionkey/textsizemultiplier.md)
- [timeout](foundation/nsattributedstring/documentreadingoptionkey/timeout.md)
- [webPreferences](foundation/nsattributedstring/documentreadingoptionkey/webpreferences.md)
