In one of my views I have an instance of UIWebView that loads a page with a Google Maps Form (Here). When submitting the form in Safari, the Maps application will open with directions. When opening inside of my UIWebView, it will display Google Maps Mobile directions.
I've tried to change the User Agent of the browser so that it would think Safari was submitting the form, that didn't work. Then I tried Method Swizzling to change the user agent, which also didn't work.
Any idea how to open Maps when submitting my form within UIWebView?
I've tried to change the User Agent of the browser so that it would think Safari was submitting the form, that didn't work. Then I tried Method Swizzling to change the user agent, which also didn't work.
Any idea how to open Maps when submitting my form within UIWebView?