Post

Replies

Boosts

Views

Activity

Reacting to a stroke while it is being drawn
The new PencilKit APIs allow to get stroke data from the user's drawing (PKStroke and PKStrokePoint). As far as I can tell though, the first time we can react to a new stroke is from within the canvasViewDrawingDidChange(_:) method of the PKCanvasViewDelegate. This method will get called *after* the stroke is finished. Is there a way to react to the stroke *while* it is being drawn by the user? That would allow for a seamless reaction to the user's strokes.
1
0
636
Jun ’20
Free trial for non-renawable subscriptions
I'm going through the docs on subscriptions and free trials, and it looks like free trial are only for renewable subscriptions. I'd be interested in a free trial that does not roll automatically into a renewable subscription but that requires the user to explicitly opt in to a subscription tier once the free trial expires. Appreciating any pointers in this regard.
1
0
690
Nov ’21