最近我用這個代碼來處理拖動觸摸:2觸摸問題
- (void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
- (void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
,但我當用戶觸摸2個按鈕在同一時間問題僅一個叫如何解決這一問題?
不要忘了實現touchCanceled :. – Eiko 2010-10-15 19:38:13