I successfully created PKCanvasView in my view and make it work to draw in there. But how to disable drawing in PKCanvasView for some purposes like viewing mode only.

Is it possible to disable drawing with both pencil and finger in PKCanvasView? 

I can disable finger drawing with just setting the variable allowsFingerDrawing false, but I want to disable pencil too.