how do i draw line when moving finger across screen in iphone using core graphics.
+1
A:
You need to handle the touch events:
on touches began:
record the point & save it in an instance variable
on touches moved:
record the new ending point & save it in an instance variable
With these 2 points you can create a path & use Coregraphics to draw the path
Ben Scheirman
2009-09-30 15:07:04
i am drawing but it's slow on device and fast on simulator
Rahul Vyas
2009-09-30 15:34:18