JXCategoryView侧滑返回失效

2022-09-22  本文已影响0人  hashakey

直接上代码

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

猜你喜欢

热点阅读