Nessuna descrizione

WMScrollView.m 660B

123456789101112131415161718192021222324
  1. //
  2. // WMScrollView.m
  3. // WMPageController
  4. //
  5. // Created by lh on 15/11/21.
  6. // Copyright (c) 2015年 yq. All rights reserved.
  7. //
  8. #import "WMScrollView.h"
  9. @implementation WMScrollView
  10. #pragma mark - <UIGestureRecognizerDelegate>
  11. - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRequireFailureOfGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
  12. //MARK: UITableViewCell 删除手势
  13. if ([NSStringFromClass(otherGestureRecognizer.view.class) isEqualToString:@"UITableViewWrapperView"] && [otherGestureRecognizer isKindOfClass:[UIPanGestureRecognizer class]]) {
  14. return YES;
  15. }
  16. return NO;
  17. }
  18. @end