UIScrollView+Helper.m 261 B

12345678910111213141516
  1. //
  2. // UIScrollView+Helper.m
  3. // Pods
  4. //
  5. // Created by heath wang on 2019/10/15.
  6. //
  7. #import "UIScrollView+Helper.h"
  8. @implementation UIScrollView (Helper)
  9. - (BOOL)isScrolling {
  10. return (self.isDragging && !self.isDecelerating) || self.isTracking;
  11. }
  12. @end