search(_:fullWordsOnly:caseMatchingOnly:)
Searches the drawing for strokes whose recognized text matches the query.
Declaration
final func search(_ query: String, fullWordsOnly: Bool = false, caseMatchingOnly: Bool = false) async -> [PKStrokeRecognizer.SearchResult]Parameters
- query:
The query string to search for.
- fullWordsOnly:
Restricts matches to whole words only.
- caseMatchingOnly:
Restricts matches to exact case.
Mentioned in
Return Value
An array of all results found.