Description
<span style="font-size: 12pt;">It seems that when Navigated event occurs, the Result from the navigation of the WebView in .NET MAUI is successful, no matter that the response status is 401 for example. (Unauthorized).</span><br /><br /><span style="font-size: 12pt;">I was counting that it will be Failure, for anything but 2xx. Is there a way to detect problem when loading the WebView?</span>
Highlights
event ConnectivityChangedEventHandler ConnectivityChanged; You will get a ConnectivityChangeEventArgs with the status if you are connected or not: public class ConnectivityChangedEventArgs : EventArgs
Exclusions
NavigationEvent | Gets the navigation event that was raised. (Inherited from WebNavigationEventArgs) |