YJYTouchScroll.m 592 B

1234567891011121314151617181920212223
  1. //
  2. // YJYTouchScroll.m
  3. // YJYConsultant
  4. //
  5. // Created by lihaiyang on 2018/10/23.
  6. // Copyright © 2018 lihaiyang. All rights reserved.
  7. //
  8. #import "YJYTouchScroll.h"
  9. @implementation YJYTouchScroll
  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