Contents

recognizedText(strokeIDs:)

Returns the recognized text from the specified strokes in the drawing.

Declaration

final func recognizedText(strokeIDs: Set<UUID>? = nil) async -> String?

Parameters

  • strokeIDs:

    The ids of the PKStrokes in drawing to analyze. Pass nil to return the recognized text from the whole drawing.

Mentioned in

See Also

Recognizing handwriting