2015-06-02 81 views

回答

0

MSDN

// The URI to launch 
var uriToLaunch = "http://www.bing.com"; 

// Create a Uri object from a URI string 
var uri = new Windows.Foundation.Uri(uriToLaunch); 

// Launch the URI 
Windows.System.Launcher.launchUriAsync(uri).then( 
    function (success) { 
     if (success) { 
     // URI launched 
     } else { 
     // URI launch failed 
     } 
    }); 
0

不可能的。您只能在将WebView嵌入到应用程序时导航到您的字符串。外部浏览器只能通过Url启动。

相关问题