Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何打印(或存储为字符串)在 WebView 中显示的当前页面的 HTML?
我试过这个:
NSString *test = [webViewTest stringByEvaluatingJavaScriptFromString:@"document.documentElement.outerHTML"];