- 博客(2)
- 收藏
- 关注
转载 触摸事件 touch view move
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event{ //找到一个触摸 UITouch *touch = [touches anyObject]; //touch.view 是指touch发生在哪一个view上 if (touch.view == _moveView) {...
2015-11-16 10:56:00 105
转载 iOS的基本手势
1.点击手势: UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(handleTapGesture:)]; //设定点击次序,识别手势的时候使用 tapGesture.numberOfTapsRequired = 2...
2015-11-16 09:52:00 90
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人