IOS设备滑动事件详解
只要手指触摸屏幕,滑动,从屏幕离开,系统都会产生UIEvent对象类型的事件---当然包括UITouch事件– touchesBegan:withEvent: ??当用户触摸到屏幕时调用方法– touchesMoved:withEvent: ?当用户触摸到屏幕并移动时调用此方法– touchesEnded:withEvent: ?当触摸离开屏幕时调用此方法
– touchesCancelled:withEvent:??当触摸被取消时调用此方法
?