How can I paint with with 4 fingers simultaneously. I need UI to interact and respond to a开发者_开发知识库ll 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 ?
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;
精彩评论