Questions tagged [apple-pencil]
30 questions
1
vote
0 answers
Flutter full Apple Pencil support
I am working on a signature app in Flutter and I need full support of Apple Pencil.
Can I get full information about drawing with Apple Pencil? Such as angle, frequency, etc.
Currently I only get a point and pressure which is depends on points. I…

jirkapenzes
- 93
- 1
- 12
1
vote
0 answers
Is there a way to widen the possible width range for Apple Pencil drawings in PencilKit?
Most high-end drawing apps on the iPad provide a means to edit the "pressure curve" of the Apple Pencil, namely how much adding pressure affects the width of the line created. Apple's PencilKit provides tools (e.g., a "pen") with pressure-sensitive…

Daven Quinn
- 134
- 2
- 7
1
vote
3 answers
Get bounds of PKDrawing / individual strokes in PencilKit
I need access to the coordinates of individual strokes of a PKDrawing in PencilKit. Is there any way I can get access to that? Currently, my only idea is to try and decode the opaque data representation we get from PKDrawing.

Konstantin Dobler
- 196
- 2
- 14
1
vote
1 answer
How to create .drawing file for PencilKit?
If you look at Apple's PencilKit Sample, you'll noticed apple used a dataset file called Notes.dataset to save Pencilkit draws. Inside the Notes.dataset, it contains a general json file for Asset Catalogue.
But more interesting, there is a file…

Legolas Wang
- 1,951
- 1
- 13
- 26
1
vote
0 answers
Apple pencil unable to click(by touch) when using Kendo UI
I am Using kendo.all.min.js and kendo.mobile.min.js
when adding data attribute, "view" (data-role = view) in HTML and binding in js file, click events only by apple pencil touch doesn't seem to work. It's working fine with hand.
Any comments would…

Aditya Kumar
- 133
- 1
- 2
- 11
0
votes
0 answers
How to get Apple Pencil Tilt
I have an app that I want to use the apple pencil tilt functionality.
Right now this is what i am doing:
let tilt = UITouch().altitudeAngle
print(tilt)
…

anish1
- 27
- 6
0
votes
1 answer
Pencil touch not recognized after finger touch
I'm working on a sketch app, and I'm pretty happy with it so far. Palm rejection works well by checking if the touch type is .pencil. However, when I draw, I sometimes use my pinky finger instead of my palm. In this case, I'm not getting the pencil…

Victor Engel
- 2,037
- 2
- 25
- 46
0
votes
1 answer
Apple Pencil touchesEstimatedPropertiesUpdated lag
I have a drawing app, I am using the touchesEstimatedPropertiesUpdated function to get accurate pressure data from the Apple Pencil.
It typically takes about 0.05 seconds to be updated after the touchesMoved event fires, which is fine.
But, if I…

WeirdHat
- 29
- 5
0
votes
0 answers
Apple Pencil Scribble on input field crashes my Cordova app?
When 'Scribble' is enabled in the Apple Pencil Settings, tapping on an input or textarea field in my Cordova app causes it to Terminate with this error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[DOMRange…

Josiah
- 1,117
- 5
- 22
- 35
0
votes
1 answer
Swift Get PKToolPicker Position
I am using the PKToolPicker with PKCanvasView. I would like to add some buttons directly above the tool picker UI on iPhone.
I am currently using the code below to try to get the frame position of the tool picker:
let toolBarPos =…

Tom Coomer
- 6,227
- 12
- 45
- 82
0
votes
1 answer
when UITextField is focused and scribble is on,keyboard don't show
there
I'm making drawing app on iPad with iOS14.
this app enables to use apple pencil.
I'm facing a problem.
when i try to write a text on UITextField by scribble hand write,keyboard don't showing.
my client said it can be enabled keyboard writing…

shunsuke_stackoverflow
- 467
- 1
- 6
- 18
0
votes
0 answers
uitextfield unexpected menu when using apple pencil on ipad
I'm making drawing app.
it has a lot of features.
then one of feature is to write text memo by using textfield.
when i use uitextfield with apple pencil it shows unexpected menu? inputaccessoryview? on left side.
when i don use apple pencil it…

shunsuke_stackoverflow
- 467
- 1
- 6
- 18
0
votes
1 answer
Apple pencil click on button or anchor element not working on webapplication
We have a webapplication, which works fine when using the finger to touch for actions. We just got a apple pencil but that does not click the buttons or links, we can write using that in the textarea's, but any button click does not work. I tried to…

A Paul
- 8,113
- 3
- 31
- 61
0
votes
1 answer
How to read ApplePencil pressure data outside an UIView?
Is it possible to read the pressure data from ApplePencil outside an UIView? For example on the frame of an iPad?
I have stumbled across this project, where the ApplePencil was used as electronic scale. But in this project the tip of the pencil…

tomaculum
- 547
- 4
- 15
0
votes
3 answers
Distinguish between finger touch and Apple Pencil touch
I'm using SceneKit to render a 3D model on an iPad Pro. My requirement is that I'd like to perform different interactions when using the Apple Pencil.
Is there a way to distinguish between a finger touch and an Apple Pencil touch?
I tried overriding…

7ball
- 2,183
- 4
- 26
- 61