Sorry, I would just test this myself, but I\'m currently without my mac. Does a web request made inside of a UIWebView send the same user-agent info that a web request made
Standalone mobile Safari user agent strings contain the word 'Version', whereas uiWebView user agent strings do not. So, the detection script can be modified to work with the latest version of iOS like so:
var is_uiwebview = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Version)/i.test(navigator.userAgent);