This post is half question - half announcement.. i develop iOS applications which include UIWebView that performs javascript code. When i run the app on devices with the newly
The UIWebview does not allow synchronous XHRs in IOS7.
This is one of the frustrating differences between the WebView and Safari (which does allow them).
The workaround:
Create an Objective-C function that makes a synchronous HTTP request.
Call that function from JavaScript. (This happens synchronously.)
Of course, if you wanted any benefits like caching, you would have to implement that yourself.
It's a bit baffling why Apple would think requiring that workaround is a good idea.