Open yuhangjob opened 6 years ago
self.panGesture = [[WMPanGestureRecognizer alloc] initWithTarget:self action:@selector(panOnView:)]; [self.view addGestureRecognizer:self.panGesture];
子控制器是tableView 不响应上啦加载了
这里应该是手势冲突了,可以试试通过UIGestureRecognizerDelegate来解决你的问题 https://developer.apple.com/documentation/uikit/uigesturerecognizerdelegate
UIGestureRecognizerDelegate
self.panGesture = [[WMPanGestureRecognizer alloc] initWithTarget:self action:@selector(panOnView:)]; [self.view addGestureRecognizer:self.panGesture];
子控制器是tableView 不响应上啦加载了