Reputation: 1075
i have a nice pageFlip website running fine in Safari-Browser on iPad2. If i now create a UIWebView within my new App and opening the URL to this PageFlip Site within the WebView, the Pages are not displayed the same as in Safari.
Are there known differences between Safari and UIWebView?
The PageFlip Site does a lot of JavaScript, checking the browser and also the screen resolution.
Also some functionality (JavaScript) does not work in UIWebView, but in Safari on the same device.
MadMaxAPP
Upvotes: 1
Views: 2572
Reputation: 3678
iOS 4.3 introduced the nitro JS engine to mobile Safari, which uses JIT for increased performance, but for security reasons JIT is disabled for UIWebViews.
My guess would be that UIWebView still runs the pre 4.3 JS engine.
Upvotes: 1