在处理手势时,如果想让它的父视图也处理手势,就可以调用[super touchesBegan:touches withEvent:event]
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
[supertouchesBegan:toucheswithEvent:event];
}
在处理手势时,如果想让它的父视图也处理手势,就可以调用[super touchesBegan:touches withEvent:event]
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
[supertouchesBegan:toucheswithEvent:event];
}