Predefined Shapes with UIPencilKit

I'm creating a drawing app using UIPencilKit, I need some predefined shapes like rectangle, circle arrow e.t.c by clicking on a shape from list. Any help how it can be achieved
Thanks
Where is your problem ?
  • creating the list ?

Do you know how to use ToolPicker ?
https ://medium. com/flawless-app-stories/getting-started-with-pencilkit-on-ios-13-a4bda3323fd8
or
https ://www.raywenderlich. com/12198216-drawing-with-pencilkit-getting-started
  • selecting a shape and display ?

Same tutorial should help
  • allow user to edit the shape ?

Thanks for reply.
Yes My issue is how to make a drawing for each shape in and when user select it, it is drawn on the canvas
Thanks again
This tutorial should help you understand how:
  • how to select a tool

  • how to use it

https ://medium. com/flawless-app-stories/getting-started-with-pencilkit-on-ios-13-a4bda3323fd8
Predefined Shapes with UIPencilKit
 
 
Q