-(void)touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event
{
UITouch *touch = [[event allTouches] anyObject];
// get the touch location
CGPoint touchLocation = [touch locationInView:touch.view];
if(touchLocation.x>40 && touchLocation.x<263>68 && touchLocation.y<340 )
{
TRUE PART;
}
else
{
FALSE PART
}
Loading
No comments:
Post a Comment