How to add shapeRecognition to PKCanvasView
? looks like the SDK doesn't support that, are there alternatives?
Asked
Active
Viewed 165 times
2

Peter Lapisu
- 19,915
- 16
- 123
- 179
1 Answers
0
PencilKit does support that, but it's private API. Only Apple's app can use it. My suggestion would be: Check last stroke in the canvasViewDrawingDidChange(), then check with your algorithmen which shape it is, then create a beautiful PKStroke and replace the last stroke.

Brew Master
- 457
- 3
- 13