Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode11,iOS13系统下滑动卡顿严重 #7

Closed
ElvistLui opened this issue Sep 24, 2019 · 1 comment
Closed

Xcode11,iOS13系统下滑动卡顿严重 #7

ElvistLui opened this issue Sep 24, 2019 · 1 comment

Comments

@ElvistLui
Copy link

非常感谢您的项目,对我受益颇丰。
现在Xcode11,iOS13系统下,这个项目滑动起来非常卡顿,已经无法正常使用了。

@ElvistLui
Copy link
Author

ElvistLui commented Sep 24, 2019

解决了,改下UIGestureRecognizerDelegate就可以了。

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
{
    if ([gestureRecognizer isKindOfClass:[UIPanGestureRecognizer class]]) {
        isVertical = YES;
    }
    return NO;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant