2009-02-12 50 views

回答

3

重写

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 

函数(从NSRespondrer类)。你可以从视图类中覆盖它。 'touches'变量包含一组'UITouch'实例,您可以查询该视图中的位置。