Chrome For iOS As Your Default Browser? - InformationWeek
05:08 PM
Connect Directly

Chrome For iOS As Your Default Browser?

Apple does not provide users with the ability to select their default browser on iOS devices, but iOS developers can provide that option from within their apps. Will developers engage in such widespread civil disobedience?

New Chromebook: A Visual Tour
New Chromebook: A Visual Tour
(click image for larger view and for slideshow)
Google built its Chrome browser for speed but Chrome can't compete on iOS. Apple won't allow it. As a consequence of its security model, Apple restricts access to the Just-In-Time (JIT) compiler in its Nitro JavaScript engine--vital for speed--to mobile Safari and Web apps saved to the iOS home screen. As a result, Chrome for iOS runs JavaScript-heavy webpages more slowly than mobile Safari does.

Google acknowledges this limitation. "Chrome for iOS has some pretty major technical restrictions imposed by the App Store, such as the requirement to use the built-in UIWebView for rendering, no V8, and a single-process model," explained Google engineer Mike Pinkerton in a Chromium forum post last month.

Eventually, development of WebKit2, the open-source webpage layout engine that debuted in Safari 5.1, might extend JIT access to all iOS apps, but that hasn't happened yet.

However, another Apple-imposed limitation on Chrome for iOS can be overcome, at least in part. Apple does not allow iOS users to choose their default browser. This means that any Web link accessed from within an app opens mobile Safari, even if the user might prefer for Chrome to be launched.

[Read Apple's OS X Mountain Lion Released To Developers.]

iOS users who have chosen to jailbreak their devices can set their default browser using BrowserChooser. But there's also an option for iOS users living under Apple's rules, if iOS developers are willing to help out.

Developer Raphael Caixeta has posted sample Objective-C code that will open Chrome for iOS rather than mobile Safari when a link is selected from within an app. His approach doesn't make Chrome for iOS the default browser system-wide; it's limited to apps that incorporate the custom URL code.

"The one thing that really kills Chrome [for iOS] is the fact that all apps will launch in Safari by default," he wrote in a blog post on Monday. "But there's a way to prevent this. It takes cooperation from all of the major developers, but if implemented, could be really, really cool."

If every iOS developer did so, it would be a remarkable act of civil disobedience. But Caixeta notes that not everyone responding to his post likes the idea of overriding Safari in all cases in an app. A more flexible implementation would allow users to select their mobile iOS browser as an app-specific setting, but Caixeta doubts most developers would bother building the interface to present that choice unless they had access to a free module that made it easy to do so. He suggests he might actually write such a library just to see if people would use it.

In an email, he downplayed the significance of his code as a simple hack "to get around Apple's existing lack of options to set default apps like Android."

Caixeta says that this technique, using what's known as a custom URL scheme, has been around for a long time in iOS, and could be implemented to, for example, open an email client from within an app that isn't Apple's Mail app.

At this year's InformationWeek 500 Conference, C-level execs will gather to discuss how they're rewriting the old IT rulebook and accelerating business execution. At the St. Regis Monarch Beach, Dana Point, Calif., Sept. 9-11.

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
User Rank: Apprentice
7/13/2012 | 9:14:29 PM
re: Chrome For iOS As Your Default Browser?
The "swipe-able" (and, thus, unlimited) tabs in Chrome for iOS are worth the price of admission alone. Add in the ability to sync with desktop bookmark folders and Chrome is indispensable as a business tool. Apple (and others) could learn a thing or two from Google's advancements in these two areas of user interface. A wonderful browser indeed. Speed is not everything.
How Enterprises Are Attacking the IT Security Enterprise
How Enterprises Are Attacking the IT Security Enterprise
To learn more about what organizations are doing to tackle attacks and threats we surveyed a group of 300 IT and infosec professionals to find out what their biggest IT security challenges are and what they're doing to defend against today's threats. Download the report to see what they're saying.
Register for InformationWeek Newsletters
White Papers
Current Issue
2017 State of IT Report
In today's technology-driven world, "innovation" has become a basic expectation. IT leaders are tasked with making technical magic, improving customer experience, and boosting the bottom line -- yet often without any increase to the IT budget. How are organizations striking the balance between new initiatives and cost control? Download our report to learn about the biggest challenges and how savvy IT executives are overcoming them.
Twitter Feed
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.
Flash Poll