标签:
self.fd_interactivePopDisabled = YES; //关闭全屏侧滑 self.navigationController.interactivePopGestureRecognizer.enabled = YES; //开启系统侧滑
-(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event { UIView *hitView = [super hitTest:point withEvent:event]; if (hitView == _mySlider) { _sliderBlock11(YES); return hitView; } else { _sliderBlock11(NO); return nil; } }
__weak ViewController *weakSelf = self;
sliderV.sliderBlock11 = ^ (BOOL aaa){ weakSelf.fd_interactivePopDisabled = aaa; };
Demo:http://i.cnblogs.com/Files.aspx
-(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
标签:
原文地址:http://www.cnblogs.com/10-19-92/p/5583311.html