fero2004
fero2004
the same issue
我找到解决方法了,需要自定义sectionheaderview然后重载setframe方法 ` - (void)setFrame:(CGRect)frame { CGRect sectionRect = [self.tablview rectForSection:self.section]; if(frame.origin.y
可以在你的bar那个类里加以下代码 `- (UIView*)hitTest:(CGPoint)point withEvent:(UIEvent *)event{ UIView *hitView = [super hitTest:point withEvent:event]; if(hitView == self){ return nil; } return hitView; }` 让点击事件穿透这个bar,而且不会影响上面的button点击