2014年3月30日
摘要: 触摸事件一共有四种状态触摸开始 :用手指按在屏幕上-(void)touchesBegan:(NSSet*)touches withEvent:(UIEvent *)event触摸移动:手指在屏幕上移动-(void)touchesMoved:(NSSet*)touches withEvent:(UIEvent *)event;//这个方法会在手指移动的过程中反复的被调用触摸结束:手指离开屏幕-(void)touchesEnded:(NSSet*)touches withEvent:(UIEvent *)event;触摸被取消 :触摸被取消(一般情况是系统事件将本次次触摸打断 如:电话呼入)-(v 阅读全文
posted @ 2014-03-30 14:42 wisper 阅读(353) 评论(0) 推荐(0)