MONoHitView.m 353 B

123456789101112131415161718192021
  1. //
  2. // MONoHitView.m
  3. // MiMoLive
  4. //
  5. // Created by SuperC on 2024/3/22.
  6. //
  7. #import "MONoHitView.h"
  8. @implementation MONoHitView
  9. #pragma mark - Hit
  10. - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event{
  11. UIView *hitView = [super hitTest:point withEvent:event];
  12. if(hitView == self){
  13. return nil;
  14. }
  15. return hitView;
  16. }
  17. @end