私のUIView
サブクラスにはこれがあります:
- (void) touchesBegan: (NSSet*) touches withEvent: (UIEvent*) event
{
UITouch* touch = [touches anyObject];
CGPoint location = [touch locationInView: self];
NSLog(@"touches count: %i",[touches count]); //always shows 1
}
画面に何本の指で触れても、出力として「1」しか表示されません。上記を追加してもtouchesMoved
同じ結果になります。