5。觸摸事件 touchBegin 等一系列方法
1)手指按下
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
2)按下并移動
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
3)手指松開
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
4)非正常取消,也就是意外中斷
- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event;
新聞熱點
疑難解答