Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

How can I prevent Xamarin Forms webview “webpage not available” page

I use XF webview and check the connection status, when the connection is broken, I want to prevent the error page and keep it on that page. Is this possible?

Answers

  • jezhjezh Member, Xamarin Team Xamurai

    I want to prevent the error page and keep it on that page.

    What do you mean by words on that page ? Do you want to back to the previous page when the connection is broken?


    Xamarin forums are migrating to a new home on Microsoft Q&A!
    We invite you to post new questions in the Xamarin forums’ new home on Microsoft Q&A!
    For more information, please refer to this sticky post.

  • ozmertozmert Member ✭✭

    Hi Jezh, when the internet connection is lost, I want to be stay on the webview page and I want it to wait for internet connection(I check the connection and refresh the page), I don't want to see the "webpage not available" page

  • jezhjezh Member, Xamarin Team Xamurai

    In this case, you can avoid refreshing the page after the API request fails.

  • ozmertozmert Member ✭✭
    edited December 2020

    Thanks, so how can i do this?

Sign In or Register to comment.