---
title: "takePasswordFrom(_:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfview/takepasswordfrom(_:)"
---

# takePasswordFrom(_:)

Unlocks with the password from the specified sender.

## Declaration

```swift
@IBAction func takePasswordFrom(_ sender: Any)
```

## See Also

### Associating a Document with a View

- [document](pdfkit/pdfview/document.md)
