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

# takeStringURLFrom(_:)

Sets the receiver’s current location by obtaining a URL string from the sender.

## Declaration

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

## Parameters

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

## Discussion

Discussion This method sets the receiver’s current location to the value obtained by sending a stringValue message to sender, then starts loading the URL returned by sender.

## See Also

### Related Documentation

- [load(_:)](webkit/webframe/load(_:)-47p2s.md)

### Loading Content

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