我注意到WKWebView文档现在列出了一个名为takeSnapshot的方法iOS11和macOS10.13及更高版本(Xcode9beta)支持。有没有人玩过或实现过?我试图让它在Playground上工作,但我不确定从哪里开始?这是WKWebView上的方法吗?我的代码:importUIKitimportPlaygroundSupportimportWebKitletframe=CGRect(x:0,y:0,width:800,height:600)letweb=WKWebView(frame:frame)letrq=URLRequest(url:NSURL(string:"ht