<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSNotification/Name-swift.struct/PDFDocumentDidUnlock",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@PDFDocumentDidUnlockNotification"
  },
  "title" : "PDFDocumentDidUnlock"
}
-->

# PDFDocumentDidUnlock

A notification that a document unlocked.

```
static let PDFDocumentDidUnlock: NSNotification.Name
```

## Discussion

The document posts this notification after receiving a <doc://com.apple.documentation/documentation/PDFKit/PDFDocument/unlock(withPassword:)> message.

The notification object is the `PDFDocument` object itself.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)