-(void)getTouch:(UITapGestureRecognizer *) recognizer
{
CGPoint point = [recognizer locationInView:MyView];
NSLog(@"%@", NSStringFromCGPoint(point));
}
iOS UITapGestureRecognizer 获取触摸CGPoint
最新推荐文章于 2017-12-27 07:22:24 发布
-(void)getTouch:(UITapGestureRecognizer *) recognizer
{
CGPoint point = [recognizer locationInView:MyView];
NSLog(@"%@", NSStringFromCGPoint(point));
}