为了使直接加载到UISCrollView的button响应click event,需要继承UIScrollView重写
- (BOOL)touchesShouldCancelInContentView:(UIView *)view
{
return ![view isKindOfClass:[UIButton class]];
}
为了使直接加载到UISCrollView的button响应click event,需要继承UIScrollView重写
- (BOOL)touchesShouldCancelInContentView:(UIView *)view
{
return ![view isKindOfClass:[UIButton class]];
}