以编程方式拍摄视图/WebView 的快照
我想拍摄视图 (WebView) 的快照,或者如果不可能的话,拍摄整个屏幕的快照,以便我可以将其保存到用户的照片库中。 我想知道这是否可能。
I want to take a snapshot of a view (WebView) or, if that is not possible, the whole screen, so I can save it into the user's photo gallery. I was wondering if this is possible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要获取图像,您需要使用:
然后,保存到照片库:
To get the image, you'll want to use:
Then, to save to the Photos Library: