How to write UIWebView with default request address like (192.168.1.1)
I have implemented UIWebView in my application, but my default is "192.168.1.1" but it is not open by default and I tried using http://www.google.com "it works fine.
[iview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"192.168.1.1"]]];
it doesn't work and works with
[iview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
+2
a source to share
4 answers
192.168.1.1 is the ip address, http://192.168.1.1 is the url. Please use a later version.
0
a source to share