JXCategoryView侧滑返回失效

直接上代码

- (JXCategoryListContainerView *)listContainerView {
    if (!_listContainerView) {
        _listContainerView = [[JXCategoryListContainerView alloc] initWithType:JXCategoryListContainerType_ScrollView delegate:self];
        //一句解决侧滑返回失效问题
        [_listContainerView.scrollView.panGestureRecognizer requireGestureRecognizerToFail:self.navigationController.interactivePopGestureRecognizer];
    }
    return _listContainerView;
}

你可能感兴趣的:(JXCategoryView侧滑返回失效)