我怎么能同时用4根手指作画呢?我需要用户界面来互动和回应所有的触摸。
我见过像GLPaint这样的大多数应用程序&还有更多的绘画应用程序,它们只对一次触摸做出反应。
有谁知道我怎么才能画出所有的触感?
发布于 2011-07-06 16:55:38
我认为你可以使用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.
使用:
multipleTouchEnabled = YES;
delaysTouchesBegan = YES;
https://stackoverflow.com/questions/6593501
复制相似问题