---
title: "documentDidUnlock(_:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfdocumentdelegate/documentdidunlock(_:)"
---

# documentDidUnlock(_:)

Called when the PDFDocumentDidUnlockNotification notification is posted.

## Declaration

```swift
optional func documentDidUnlock(_ notification: Notification)
```
