<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextSearchAggregator-c.protocol/invalidate",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UITextSearchAggregator(im)invalidate"
  },
  "title" : "invalidate"
}
-->

# invalidate

Invalidates all currently shown ranges.

```
- (void) invalidate;
```

## Discussion

Calling this method causes the system find panel to update its current state, and might trigger a new search using [`performTextSearchWithQueryString:usingOptions:resultAggregator:`](/documentation/UIKit/UITextSearching-53wjq/performTextSearchWithQueryString:usingOptions:resultAggregator:) immediately after.

---

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)