Feeds

Apple handcuffs 'open' web apps on iPhone home screen

Three bugs? Or three-headed App Store conspiracy?

  • alert
  • submit to reddit

Combat fraud and increase customer satisfaction

Down to the test

According to tests from developer Maximiliano Firtman, author the O'Reilly tome, Programming with the Mobile Web, Apple iOS 4.3 runs web applications in the browser about two times faster than when they're launched from the home screen into full-screen mode. And like the three other developers we spoke to, he's sure this is because home screen apps can't take advantage of Nitro.

"I'm not 100% sure, but 99.9999% sure that the timing difference is because of lack of Nitro," Fitman tells us. Nitro was introduced with iOS 4.3. Fitman offers a version of the Sunspider JavaScript benchmark that lets you easily see the speed difference for yourself, embedding Sunspider in an iFrame so that it will run fullscreen on the iPhone and iPad. We confirmed his results with tests of our own.

Running in Safari on an iPhone 4 loaded with iOS 4.3, Sunspider took about 4047ms:

Sunspider on iOS 4.3 Safari

Running from the home screen, it took about 10747ms:

Sunspider on iOS 4.3 homescreen

Apple isn't degrading the speed of home screen web apps. It's boosting the speed of web apps in the browser. But in the long run, the effect is the same. And if this is a bug, Apple has yet to fix it.

On top of this, apps are hampered by the cache and asynchronous mode issues. According to one anonymous developer, access to certain web caches was cut off in iOS 4.2. And the issue is confirmed by a second developer. You can try it yourself with HTML5 apps such as Pie Guy. With earlier versions of the OS, if you move the game to the home screen and run it once, you can then play it offline. But if you try to do so on the latest version of the operating system, you can't.

The first developer also says that WebView native apps and home screen web apps are rendered in synchronous mode, whereas on iOS 4.3, they're rendered in asynchronous mode. "[With synchronous mode], you will sometimes see this weird grid of dark squares," he tells us. "Basically, when repainting the screen, synchronous mode can sometimes show your UI partially repainted."

This developer reiterates that if Apple didn't specifically introduce these problems in iOS, it's aware of them now. And he says that the Mobile Safari team has indicated the issues will not be fixed.

If Apple won't fix them, he says, Google should. "The Android team needs to pick this up and compete on it." ®

Updated: This story has been updated to make it clear that the speed difference occurs when home screen apps are launched into full-screen mode.

Combat fraud and increase customer satisfaction

More from The Register

next story
Ubuntu 14.04 LTS: Great changes, but sssh don't mention the...
Why HELLO Amazon! You weren't here last time
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Next Windows obsolescence panic is 450 days from … NOW!
The clock is ticking louder for Windows Server 2003 R2 users
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
OpenBSD founder wants to bin buggy OpenSSL library, launches fork
One Heartbleed vuln was too many for Theo de Raadt
Got Windows 8.1 Update yet? Get ready for YET ANOTHER ONE – rumor
Leaker claims big release due this fall as Microsoft herds us into the CLOUD
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
prev story

Whitepapers

Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.