Dears,
I am using DisplayAlert in my project for displaying no internet connection alert. Unfortunately, it is not working.
It working fine in another part. I don't know the reason why it behaves like this.
My code:
if (Utility.IsInternet())
{
UserTweetsList();
}
else
{
Debug.WriteLine("Enter no internet block");
DisplayAlert("Alert", "No internet connection", "Ok");
}
Code enters the else block and print the "Enter no internet block" in the output, but not displaying the alert message.
What are the possible reasons for this?
Thanks in advance....