use*_*810 1 c# windows-phone-8 windows-phone-8.1
在Windows Phone 8中,您可以使用:
(string)browser.InvokeScript("eval", "document.title.toString()");
Run Code Online (Sandbox Code Playgroud)
从浏览器返回页面标题.
您将如何在新的WP8.1 API中执行此操作
对于任何寻找答案的人,我都可以使用它
string[] args = { "document.title;" };
string foo = await webView.InvokeScriptAsync("eval", args);
Run Code Online (Sandbox Code Playgroud)