<!--
{
  "availability" : [
    "iOS: 2.0.0 - 12.0.0",
    "iPadOS: 2.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIWebView/loadRequest(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIWebView(im)loadRequest:"
  },
  "title" : "loadRequest(_:)"
}
-->

# loadRequest(_:)

Connects to a given URL by initiating an asynchronous client request.

```
func loadRequest(_ request: URLRequest)
```

## Parameters

`request`

A URL request identifying the location of the content to load.

## Discussion

Don’t use this method to load local HTML files; instead, use [`loadHTMLString(_:baseURL:)`](/documentation/UIKit/UIWebView/loadHTMLString(_:baseURL:)). To stop this load, use the [`stopLoading()`](/documentation/UIKit/UIWebView/stopLoading()) method. To see whether the receiver is done loading the content, use the [`isLoading`](/documentation/UIKit/UIWebView/isLoading) property.

---

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)