在他们的父类试图重写该函数

//- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {

//    

//    UIButton *firstButton = (UIButton *) [self viewWithTag:1];

//    CGPoint pointInB = [firstButton convertPoint:point fromView:self];

//    

//    if ([firstButton pointInside:pointInB withEvent:event])

//        return firstButton;

//    

//    return [super hitTest:point withEvent:event];

//

//    

//}

相关文章:

  • 2021-11-28
  • 2021-07-31
  • 2022-12-23
  • 2021-09-13
  • 2022-02-17
  • 2022-01-01
  • 2021-06-08
猜你喜欢
  • 2021-12-27
  • 2022-01-01
  • 2021-10-05
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案