Feeds

iOS 5 closes Apple's infamous homescreen webapp gap

So says Xuzz

  • alert
  • submit to reddit

Securing Web Applications Made Simple and Scalable

Apple's iOS 5 will close the speed gap between web apps run inside the company's Safari browser and those that run in "fullscreen mode" from the iOS home screen, according to a web post from a developer with early access to the operating system.

With the current version of iOS, web applications saved to the iOS home screen and launched into "fullscreen mode" do not benefit from certain tools built into Safari, including the browser's new Nitro JavaScript engine.

"The embedded web viewer does not take advantage of Safari's web performance optimizations." Apple spokeswoman Trudy Muller told The Register in March (no, really, she did). Apparently, these optimizations also included certain Safari caches and the browser's "asynchronous" rendering mode.

But on Thursday, during a discussion on Hacker News, a developer calling himself Xuzz said that with iOS 5, fullscreen web apps will at least have access to Nitro. "Did they fix the bug from 4.3 where home screen Web apps don't use Nitro?" asked one poster. Xuzz replied: "This is probably breaking my NDA to say this, but yes, they did. Web.app now has the 'dynamic-codesigning' entitlement, which enables Nitro."

But he indicated that Nitro is still missing from the UIWebView API used by native iOS applications, attributing this to Apple's security stance on Nitro's JIT (just-in-time) compiler. "They don't [get Nitro benefits], but that's a security restriction," Xuzz said. "They can't give dynamic-codesigning to all apps, or their security (which that disables, as a requirement to enable the JIT) would then be useless."

It's unclear whether Apple has changed the cache and synchronous mode discrepancies.

With Apple's current operating system, iOS 4.3, the discrepancies between home screen apps and Safari apps creates a significant performance gap. In tests run by The Register, Safari on an iOS 4.3 iPhone 4 run the Sunspider benchmark in about 4047ms. Running from the home screen, it took about 10747ms. It should be noted that users can not run web apps in fullscreen mode unless the developer allows them to. ®

Application security programs and practises

More from The Register

next story
iPad? More like iFAD: We reveal why Apple fell into IBM's arms
But never fear fanbois, you're still lapping up iPhones, Macs
For Lenovo US, 8-inch Windows tablets are DEAD – long live 8-inch Windows tablets
Reports it's killing off smaller slabs are greatly exaggerated
Microsoft unsheathes cheap Android-killer: Behold, the Lumia 530
Say it with us: I'm King of the Landfill-ill-ill-ill
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Seventh-gen SPARC silicon will accelerate Oracle databases
Uncle Larry's mutually-optimised stack to become clearer in August
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Apple orders huge MOUNTAIN of 80 MILLION 'Air' iPhone 6s
Bigger, harder trouser bulges foretold for fanbois
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.