判断是否touch了某个View(winningView):
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [touches anyObject]; CGPoint pt = [touch locationInView:self.view]; //点击其他地方消失 if (!CGRectContainsPoint([self.winningView frame], pt)) { //to-do } }