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

使用版本0.3.1 WKWebView 截长图时只截取到当前屏幕大小的图 iOS 13.6.1 #38

Open
zorro-long opened this issue Aug 18, 2020 · 4 comments

Comments

@zorro-long
Copy link

No description provided.

@zorro-long zorro-long changed the title 0.3.1 WKWebView 截长图时只截取到当前屏幕大小的图 使用版本0.3.1 WKWebView 截长图时只截取到当前屏幕大小的图 iOS 13.6.1 Aug 18, 2020
@zorro-long
Copy link
Author

获取 WKWebView.scrollView.contentSize.height 等于屏幕高度,并不是网页高度

@zorro-long
Copy link
Author

iShot2020-08-19上午10 08 17

一直找到最里面的WKCompositingView的高度才是网页的高度

@CcgKaneki
Copy link

scrollview同样的问题,当scrollview内容高度接近1屏的高度的时候,会出现这个问题,截图不完整

@TonyReet
Copy link
Owner

TonyReet commented Feb 9, 2023

已修改

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

3 participants