摘要:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event{ //找到一个触摸 UITouch *touch = [touches anyObject]; //touch.view 是指touch发生在哪一个view上 if (... 阅读全文
摘要:
1.点击手势:UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(handleTapGesture:)]; //设定点击次序,识别手势的时候使... 阅读全文