I'm in the process of building a mobile web app, and I've run into a very, very strange issue.
The core of my app looks like a proper iPhone app, with tab-bar. On one of my screens, if the tab-bar links are clicked, before redirecting we have to make a POST request to the server, then perform the redirect on success.
In a desktop browser, this works exactly as expected.
In Mobile Safari, it doesn't work at all. The POST request happens, but the redirect does not. I've tried a number of different techniques for the redirection, and none of them have made a difference.
I'm using jQuery Mobile, but because I need to redirect to a completely different page with no transition and no AJAX, I'm using window.location.href to redirect.
Does anyone have any ideas why this might be happening? Happy to provide further details if necessary, I've been banging my head against this for 2 days.