<!--
{
  "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/PDFDocumentDidEndFind",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@PDFDocumentDidEndFindNotification"
  },
  "title" : "PDFDocumentDidEndFind"
}
-->

# PDFDocumentDidEndFind

A notification that the document finished a find operation.

```
static let PDFDocumentDidEndFind: NSNotification.Name
```

## Discussion

The document posts this notification when <doc://com.apple.documentation/documentation/PDFKit/PDFDocument/findString(_:withOptions:)> returns.

The <doc://com.apple.documentation/documentation/PDFKit/PDFDocument/beginFindString(_:withOptions:)> method returns immediately, so this notification is posted when the “find” operation is finished.

You can use this notification to know when to close or hide a progress bar.

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)