Fill Tool for PencilKit PKToolPicker

In the recent WWDC 2022, FreeForm app was introduced and in that app in the tool picker there was a Fill Tool.

I want to put that fill tool (or any similar filling tool) in my xcode app that I am building. But when I use pencilkit PKToolPicker, there is not Fill Tool.

So how to get this fill tool in my app.

Any leads would be helpful. Thanks.

I don't this is possible yet. Seems like they have sadly limited this functionality to their own apps...

Still not there as iOS 16.2 has been released... Is there any chance this will become available any soon?

Other note apps, such as Prodrafts, also fill this tool bar. So I think they may use their own tool picker. But...I don't know how....

Good news! Adding your own custom tool items to PKToolPicker is now supported in the beta releases of iOS 18, iPadOS 18, and visionOS 2.

You can now add any tool your canvas supports, even one with custom attributes!

Check out the documentation and related WWDC video for more details:

https://developer.apple.com/documentation/pencilkit/pktoolpickercustomitem

https://developer.apple.com/videos/play/wwdc2024/10214/

Fill Tool for PencilKit PKToolPicker
 
 
Q