Closed

UIWevView Code in HTML

Hi

We have a WiFi Hotspot and a HTML splash page which is saved locally (on the router).

This HTML splash page is html and javascript ONLY, and we can't turn it into a mobile app, because we also need it when people connect to the internet with a laptop.

The problem is UIWebView on the iPhone.

There is an Agree Button on our splash page, and after agreeing, an IP address is assigned to the user and you are REDIRECTED to our website. UIWebview Redirects, but then CLOSES the UIWebview window after making the connection.

So what has to be done is: The agree button has to open the redirect in safari instead of uiwebview.

I found this code:

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {

// NSLog(@"shouldStartLoadWithRequest Loading: %@", [request URL]);

return TRUE;

}

Out Agree Button looks like this:

<form name="login" method="post" action="http://192.168.1.1:5280/">

<input type="hidden" name="accept_terms" value="yes" />

<input type="hidden" name="redirect" value="[url removed, login to view]">

<input type="hidden" name="mode_login">

<input type="image" src="img/[url removed, login to view]" alt="Agree">

</form>

But this is for iphone apps and I have no idea if AND How it can be used on html pages.

Skills: HTML5, iPhone, Mobile App Development

See more: shouldstartloadwithrequest redirect, uiwebview redirect, uiwevview url, uiwebview javascript hotspot, turn website to iphone app, turn website into app, turn it in com, safari login problem, making a website into an app, internet code, how code, connect html javascript, code internet, code code internet, alt com, 192 168.1.1, uiwebview open address, hidden apps, webview, type code, turn page app, iphone app webview, html and javascript, hotspot, bool

About the Employer:
( 0 reviews ) la paz, Bolivia

Project ID: #1278985

4 freelancers are bidding on average $155 for this job

tannu2009

Please check the PMB for More [url removed, login to view] provide me more details,first i will show the work.

$220 USD in 1 day
(10 Reviews)
5.0
stevenoah

HELLO SIR PLEASE CHECK PMB

$250 USD in 4 days
(0 Reviews)
0.0
mrzhao0309

It's very easy task. I'll finish that task within 2 day. However, interview is needed to discuss the detalied specification.

$50 USD in 2 days
(0 Reviews)
0.0
sujitkumarpaul

I am a Web Developer with 4 years web designing and development knowledge. I can write and complete any kind of task with quality and meeting deadlines. I have experience of writing/rewriting business, general article More

$100 USD in 1 day
(0 Reviews)
0.0