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

WKWebView滚动设置偏移量不生效问题 #459

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

YunZhongManMu
Copy link

修复标签页是WKWebView, 滚动WKWebView时头视图瞬间置顶问题

@pujiaxin33
Copy link
Owner

请新建一个webview的example,而不是在现有代码基础直接修改。还有就是能麻烦解释一下为什么需要改成这样吗?

    dispatch_async(dispatch_get_main_queue(), ^{
        scrollView.contentOffset = CGPointMake(scrollView.contentOffset.x, [self minContentOffsetYInListScrollView:scrollView]);
    });

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

Successfully merging this pull request may close these issues.

2 participants