摘要: - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event{ //找到一个触摸 UITouch *touch = [touches anyObject]; //touch.view 是指touch发生在哪一个view上 if (... 阅读全文
posted @ 2015-11-16 10:56 Kevin_iOS 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 1.点击手势:UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(handleTapGesture:)]; //设定点击次序,识别手势的时候使... 阅读全文
posted @ 2015-11-16 09:52 Kevin_iOS 阅读(195) 评论(0) 推荐(0) 编辑