简体   繁体   中英

WP8 Back Button between applications

I have an application on Windows Phone 8 that opens a link on Internet Explorer. The page loads until the end and when I want to go back to the application, Internet Explorer blocks and does not return.

This is my code to open the link in Internet Explorer.

text.NavigateUri = new Uri(url, Urikind.Absolute);

Why does this happen?

I think you'll want to do something like this:

//After your page has finished loading
NavigationService.Navigate(new Uri(url, Urikind.Absolute));

This isn't entirely clear from your question though. Do you want to go back to the application after the user has clicked on something in the web page or simply after the page is done loading? Either way you'll want to handle that event then call the line above.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM