开发者

difference between touchMoved and Swipe?

i am rotating开发者_StackOverflow社区 circle in iPad.i have inserted swipegesture event.but I want to different operations in touchMoved and swipeEvent.but when I do touch moving , swipw gesture is called, what i have to do , any help please?


swipe:

NSEventTypeSwipe An event representing a swipe gesture. Available in Mac OS X v10.6 and later. Declared in NSEvent.h.

and

touchMoved:

Sent to the receiver when one or more fingers move in the associated view.

  • (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event

so swipe cant be use to code some thing when any thing happens like touches.swipe is use for recognizing touch event.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜