Sorry for asking this silly question.
How can we load default safari page when not connected to the internet, like the page below, in our application?
Thanks in advance
Chahal
Sorry for asking this silly question.
How can we load default safari page when not connected to the internet, like the page below, in our application?
Thanks in advance
Chahal
First check for an active Internet Connection here, then load local html file into the uiwebview here.
Did you mean : open a default page in the Safari application when taping on some button inside your application? If yes, then here is the code :
[[UIApplication sharedApplication] openURL:[YOUR_URL_HERE]]