1

How can I paint with with 4 fingers simultaneously. I need UI to interact and respond to all touches.

I have seen most of the Apps like GLPaint & many more painting apps which only respond to 1 touch.

Anyone have idea how can I paint with all touches ?

Tariq
  • 9,861
  • 12
  • 62
  • 103

1 Answers1

1

I think that you can use UIPanGestureRecognizer

UIPanGestureRecognizer is a concrete subclass of UIGestureRecognizer that looks for panning (dragging) gestures.The user must be pressing one or more fingers on a view while they pan it.

Use :

multipleTouchEnabled = YES;
delaysTouchesBegan = YES;
Michaël
  • 6,676
  • 3
  • 36
  • 55
  • Any samples available ? Like GLPaint Apple sample – Tariq Jul 06 '11 at 09:35
  • In this post :http://stackoverflow.com/questions/5238149/ios-advancing-an-animation-in-realtime-while-panning-with-uipangesturerecognize, it's mentioned this sample code :http://developer.apple.com/library/ios/#samplecode/Touches/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007435 – Michaël Jul 06 '11 at 09:44