<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKStrokeRecognizer/indexableContent",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "s:9PencilKit18PKStrokeRecognizerC16indexableContentSSSgvp"
  },
  "title" : "indexableContent"
}
-->

# indexableContent

A string suitable for indexing the drawing’s recognized text in search systems such as Spotlight.

```
final var indexableContent: String? { get async }
```

## Discussion

The string may contain multiple concatenated candidate matches for recognized text in the drawing.

> Important: This query runs low-priority background recognition. Interactive queries can cancel it,
> in which case it returns nil. Use the indexing query when the person isn’t interacting with the device.

---

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)