Relying on sensory event
I am creating a paint tool with UIView touch events.
Problem
The touchsMoved event is not raised when trying to move very hard immediately after being touched.
so it is very difficult to draw 2 ~ 3 pixels line .
Look at it just one pixel.
But in iOS Simulator, it works great.
I thought there was a device problem But in SketchBookX (a popular drawing app) works great too.
I am not using UIScrollView or UIGuestureRocognizer.
Please help me to solve this problem.
- I took some screenshots and "novices are not allowed to post images." X (
source to share
It's one thing that there is a mouse on the input device of the simulator, where the "touch" point is strictly defined. The touchscreen works a little differently - 2-3px can be filtered out as noise.
People usually interpolate "missing" pixels with UIBezierPath: see Increase touchphonesMoved frequency calls
source to share