【发布时间】:2010-10-15 19:25:06
【问题描述】:
最近我用这个代码来处理拖动触摸:
- (void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
- (void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
但是当用户同时触摸 2 个按钮时我的问题只有一个叫如何解决这个问题?
【问题讨论】:
-
别忘了实现 touchCanceled:.
标签: objective-c ios