标签:io sp on log bs as nbsp ui c
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *touch = [touches anyObject];
CGPoint pt = [touch locationInView:self.view];
if (!CGRectContainsPoint([self.view frame], pt)) {
NSLog(@"点pt不在self.view上");
}else{
NSLog(@"点pt在self.View上");
}
}
标签:io sp on log bs as nbsp ui c
原文地址:http://www.cnblogs.com/mgbert/p/4093232.html