I'm trying to create an iPad App to draw on a canvas with polygon detection and I'm using PencilKit. My problem is that when I select a stroke with PKLassoTool I need to find the ID of that stroke in the canvas in order to custom modify it. Is there any method to get that ID?
I tried the solution proposed in this post PKCanvasView / PKDrawing get strokes selected by lasso but I don't know what the #selector(delete) is