---
title: stopLoading()
framework: webkit
role: symbol
role_heading: Instance Method
path: webkit/webframe/stoploading()
---

# stopLoading()

Stops any pending loads on the receiver’s data source, and those of its children.

## Declaration

```swift
func stopLoading()
```

## Discussion

Discussion This method does not change the state of the receiver—whatever content has been loaded is preserved.

## See Also

### Loading Content

- [load(_:)](webkit/webframe/load(_:)-47p2s.md)
- [reload()](webkit/webframe/reload().md)
- [reloadFromOrigin()](webkit/webframe/reloadfromorigin().md)
- [loadAlternateHTMLString(_:baseURL:forUnreachableURL:)](webkit/webframe/loadalternatehtmlstring(_:baseurl:forunreachableurl:).md)
- [loadHTMLString(_:baseURL:)](webkit/webframe/loadhtmlstring(_:baseurl:).md)
- [load(_:mimeType:textEncodingName:baseURL:)](webkit/webframe/load(_:mimetype:textencodingname:baseurl:).md)
- [load(_:)](webkit/webframe/load(_:)-6wkx6.md)
