[objective-c]UIGestureRecognizerでダブルタップ検知
UITapGestureRecognizer *gest = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(whenWTap:)]; gest.numberOfTapsRequired = 2; [imgv addGestureRecognizer:gest]; [gest release]; -(void)whenWTap:(UITapGestureRecognizer*)gest{ NSLog(@"WTap!"); }