Shape detection for other apps? (PencilKit, iOS 15)

Tried to ask as a comment in the other thread:

https://developer.apple.com/forums/thread/650386?answerId=628394022#reply-to-this-question

But can't leave a comment in there for some reason (the thread is locked?). Asking exactly the same question, now for iOS 15. Anything changed in this area?


When selecting a stroke path for object on PKCanvas, the option "Snap to Shape" appears.

I understand this function is still in beta and has not made available natively to other PencilKit app. Is there a way using Stroke API to call this function directly after the user hold pencil for half a second when stroke is done drawing, just like how it behaves in native apps?

Post not yet marked as solved Up vote post of yetanotherme Down vote post of yetanotherme
1.5k views

Replies

also looking for an answer to this