YJYTouchCollectionView.m 617 B

123456789101112131415161718192021222324
  1. //
  2. // YJYTouchCollectionView.m
  3. // YJYConsultant
  4. //
  5. // Created by lihaiyang on 2018/10/23.
  6. // Copyright © 2018 lihaiyang. All rights reserved.
  7. //
  8. #import "YJYTouchCollectionView.h"
  9. @implementation YJYTouchCollectionView
  10. - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
  11. [[self nextResponder] touchesBegan:touches withEvent:event];
  12. [super touchesBegan:touches withEvent:event];
  13. }
  14. - (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
  15. [[self nextResponder] touchesEnded:touches withEvent:event];
  16. [super touchesEnded:touches withEvent:event];
  17. }
  18. @end