How to tell user to connect to the internet if not connected

Please, I created an app with a web view. How do I detect that the user is not connected to the internet and alert the user to connect to the internet.

Try this method

blocks

1 Like