PencilKit ColorPicker in ToolPicker color mode mismatch

I'm currently using PencilKit in an app that is forced to run in dark mode (UIUserInterfaceStyle == Dark in Info.plist).

But for one UIViewController only, I'm using the light mode for note taking with PencilKit. I change the ToolPicker style by using toolPicker.overrideUserInterfaceStyle = .light and it works great that way.

Unfortunately, if I want a custom color and I tap on the ColorPicker icon, it seems to still be in dark mode, because when I choose white, it draws black, and if I choose black, it draws black. This doesn't happen if I tap the black color in the predefined palette (not the color picker).

Any idea how to force to color picker to respect the tool picker userInterfaceStyle?

Did you find a solution @jeromedanthinne? I created a Feedback Report and a Code-Level support ticket for this issue and 1 month later I still have no feedback at all from Apple.

Same here, still experiencing this issue.

PencilKit ColorPicker in ToolPicker color mode mismatch
 
 
Q