---
title: "stopLoading(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/webview-swift.class/stoploading(_:)"
---

# stopLoading(_:)

An action method that stops the loading of any web frame content managed by the receiver.

## Declaration

```swift
@IBAction func stopLoading(_ sender: Any?)
```

## Parameters

- `sender`: The object that sent this message.

## Discussion

Discussion Stops any content in the process of being loaded by the main frame or any of its children frames. Does nothing if no content is being loaded.

## See Also

### Loading Content

- [takeStringURLFrom(_:)](webkit/webview-swift.class/takestringurlfrom(_:).md)
- [reload(_:)](webkit/webview-swift.class/reload(_:).md)
- [reloadFromOrigin(_:)](webkit/webview-swift.class/reloadfromorigin(_:).md)
- [estimatedProgress](webkit/webview-swift.class/estimatedprogress.md)
