June 26, 2012

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

rotate

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.

Modus Create is a product development, training, and services company based out of Reston VA. We help clients realize their product vision, and build in-house development capabilities.

Interested in working with us, or have a question? Feel free to contact us anytime, or call us directly at 1-855-663-8727.