PencilKit iOS 13.6 to 14.0 API Differences
PKCanvasView.h
Added
PKCanvasViewDrawingPolicy
Added
PKCanvasViewDrawingPolicyDefault
Added
PKCanvasViewDrawingPolicyAnyInput
Added
PKCanvasViewDrawingPolicyPencilOnly
Added
PKCanvasView.drawingPolicy
Modified
PKCanvasView.allowsFingerDrawing
Availability
Deprecation Message
From
Available
none
To
Deprecated
Use 'drawingPolicy' property.
PKDrawing.h
Added
-[PKDrawing initWithStrokes:]
Added
PKDrawing.strokes
Added
-[PKDrawing drawingByAppendingStrokes:]
PKFloatRange.h
Added
PKFloatRange
Added
PKFloatRange.lowerBound
Added
PKFloatRange.upperBound
Added
-[PKFloatRange initWithLowerBound:upperBound:]
PKInk.h
Added
PKInk
Added
-[PKInk initWithInkType:color:]
Added
PKInk.inkType
Added
PKInk.color
PKInkingTool.h
Added
-[PKInkingTool initWithInk:width:]
Added
PKInkingTool.ink
PKStroke.h
Added
PKStroke
Added
-[PKStroke initWithInk:strokePath:transform:mask:]
Added
PKStroke.ink
Added
PKStroke.transform
Added
PKStroke.path
Added
PKStroke.mask
Added
PKStroke.renderBounds
Added
PKStroke.maskedPathRanges
PKStrokePath.h
Added
PKStrokePath
Added
-[PKStrokePath initWithControlPoints:creationDate:]
Added
PKStrokePath.count
Added
PKStrokePath.creationDate
Added
-[PKStrokePath pointAtIndex:]
Added
-[PKStrokePath objectAtIndexedSubscript:]
Added
-[PKStrokePath interpolatedLocationAt:]
Added
-[PKStrokePath interpolatedPointAt:]
Added
-[PKStrokePath enumerateInterpolatedPointsInRange:strideByDistance:usingBlock:]
Added
-[PKStrokePath enumerateInterpolatedPointsInRange:strideByTime:usingBlock:]
Added
-[PKStrokePath enumerateInterpolatedPointsInRange:strideByParametricStep:usingBlock:]
Added
-[PKStrokePath parametricValue:offsetByDistance:]
Added
-[PKStrokePath parametricValue:offsetByTime:]
PKStrokePoint.h
Added
PKStrokePoint
Added
-[PKStrokePoint initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:]
Added
PKStrokePoint.location
Added
PKStrokePoint.timeOffset
Added
PKStrokePoint.size
Added
PKStrokePoint.opacity
Added
PKStrokePoint.azimuth
Added
PKStrokePoint.force
Added
PKStrokePoint.altitude
PKToolPicker.h
Added
PKToolPicker.stateAutosaveName
Added
PKToolPicker.showsDrawingPolicyControls
Added
-[PKToolPicker init]
Modified
+[PKToolPicker sharedToolPickerForWindow:]
Availability
Deprecation Message
From
Available
none
To
Deprecated
Create individual instances instead.