How to deactivate new 'Insert Space' feature on PKCanvasView

The new 'Insert Space' feature should not be activated on my PKCanvasView since it messes up the functonality of my app.

Is there a possibility to deactivate this feature?
Associated with this, is there a possibility to deactivate it's neighbour function 'Select All'?
Answered by Alipacman in 668102022
I successfully disabled this functionality by not setting the visibility of the PKToolPicker. This only works since I don't use its UI, because I build an overlay:

Code Block
toolPicker.setVisible(Environment.isDebugMode, forFirstResponder: UIView())

Accepted Answer
I successfully disabled this functionality by not setting the visibility of the PKToolPicker. This only works since I don't use its UI, because I build an overlay:

Code Block
toolPicker.setVisible(Environment.isDebugMode, forFirstResponder: UIView())

How to deactivate new 'Insert Space' feature on PKCanvasView
 
 
Q