How to add strokes to PKDrawing in PKCanvasView programmatically?
Search results for
[tags:wwdc20-10184]
3 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I implemented a drawing canvas before PencilKit was released. The drawings were stored as PNGData. Is there a way to convert PNGData or a UIImage to a PKDrawing so I can migrate to PencilKit?
Shape detection for Apple Pencil drawing was mentioned as a new feature during the keynote, but I did not see it mentioned in the What's new in PencilKit video and it does not seem to work in a test app I created in iOS 14 Beta 1 using PKCanvasView. It does work in the iOS 14 Notes app. Will this be made available in the public library? It would be so great to have!