判断触摸在自己view内方法

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
    UITouch *touch = [touches anyObject];
    CGPoint location = [touch locationInView:self];
}

posted on 2015-07-24 20:32  代码改变宇宙  阅读(29)  评论(0)    收藏  举报