iOS treats HTML5 rotation differently in mobile Safari over a native web view

   Industry

In June of 2011, we learned that the Nitro JavaScript Engine was being added to iOS 4.3. This, of course, got every mobile HTML5 app developer excited to learn about the potential for 2.5 times speed increase of our apps. Over the course of a year, I, along with other developers, became accustomed to expecting our apps to behave slower when using web views.  I’ve been primarily working on a Sencha Touch 2.0 application that is designed to be consumed with Mobile Safari instead of being embedded on the iOS Springboard.  I got used to the rotation behavior with this app as designed, but discovered a very different behavior for rotation when the app is embedded in a web view. What we discovered might surprise you. Breaking down HTML5 app rotation iOS from Modus Create on Vimeo.


This website uses cookies

These cookies are used to collect information about how you interact with our website and allow us to remember you. We use this information in order to improve and customize your browsing experience, and for analytics and metrics about our visitors both on this website and other media. To find out more about the cookies we use, see our Privacy Policy.

Please consent to the use of cookies before continuing to browse our site.

Like What You See?

Got any questions?


>