PencilKit iOS 12.4 to 13.0 API Differences
PKCanvasView.h
Added
PKCanvasViewDelegate
Added
-[PKCanvasViewDelegate canvasViewDrawingDidChange:]
Added
-[PKCanvasViewDelegate canvasViewDidFinishRendering:]
Added
-[PKCanvasViewDelegate canvasViewDidBeginUsingTool:]
Added
-[PKCanvasViewDelegate canvasViewDidEndUsingTool:]
Added
PKCanvasView
Added
PKCanvasView.delegate
Added
PKCanvasView.drawing
Added
PKCanvasView.tool
Added
PKCanvasView.rulerActive
Added
PKCanvasView.drawingGestureRecognizer
Added
PKCanvasView.allowsFingerDrawing
PKDrawing.h
Added
PKAppleDrawingTypeIdentifier
Added
PKDrawing
Added
-[PKDrawing init]
Added
-[PKDrawing initWithData:error:]
Added
-[PKDrawing dataRepresentation]
Added
PKDrawing.bounds
Added
-[PKDrawing imageFromRect:scale:]
Added
-[PKDrawing drawingByApplyingTransform:]
Added
-[PKDrawing drawingByAppendingDrawing:]
PKEraserTool.h
Added
PKEraserType
Added
PKEraserTypeVector
Added
PKEraserTypeBitmap
Added
PKEraserTool
Added
PKEraserTool.eraserType
Added
-[PKEraserTool initWithEraserType:]
PKInkingTool.h
Added
PKInkType
Added
PKInkTypePen
Added
PKInkTypePencil
Added
PKInkTypeMarker
Added
PKInkingTool
Added
-[PKInkingTool initWithInkType:color:width:]
Added
-[PKInkingTool initWithInkType:color:]
Added
+[PKInkingTool defaultWidthForInkType:]
Added
+[PKInkingTool minimumWidthForInkType:]
Added
+[PKInkingTool maximumWidthForInkType:]
Added
PKInkingTool.inkType
Added
PKInkingTool.color
Added
+[PKInkingTool convertColor:fromUserInterfaceStyle:to:]
Added
PKInkingTool.width
PKLassoTool.h
Added
PKLassoTool
Added
-[PKLassoTool init]
PKTool.h
Added
PKTool
PKToolPicker.h
Added
PKToolPickerObserver
Added
-[PKToolPickerObserver toolPickerSelectedToolDidChange:]
Added
-[PKToolPickerObserver toolPickerIsRulerActiveDidChange:]
Added
-[PKToolPickerObserver toolPickerVisibilityDidChange:]
Added
-[PKToolPickerObserver toolPickerFramesObscuredDidChange:]
Added
PKToolPicker
Added
-[PKToolPicker addObserver:]
Added
-[PKToolPicker removeObserver:]
Added
-[PKToolPicker setVisible:forFirstResponder:]
Added
PKToolPicker.selectedTool
Added
PKToolPicker.rulerActive
Added
PKToolPicker.isVisible
Added
-[PKToolPicker frameObscuredInView:]
Added
PKToolPicker.overrideUserInterfaceStyle
Added
PKToolPicker.colorUserInterfaceStyle
Added
+[PKToolPicker sharedToolPickerForWindow:]