怎么停止触发touchesEnded touchesMoved
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event; 当手指在屏幕上面滑动的时候,我想停止这样的事件,应该怎么处理
我说一个场景吧,比如说微信的发送声音的功能,你按下开始录音,然后等到60秒的时候,就自动停止,无论用户的手指是否还在屏幕上。。