Google Highlights Chrome Integration Tools for iOS Developers

by

chrome.jpgFollowing yesterday's Gmail update that gave users the option to open links directly in apps like YouTube, Chrome, and Safari, Google has released a blog post detailing Chrome integration tools for iOS developers.

With the iOS Links functionality, developers can give users the option to open a link in Chrome rather than Safari. In addition to opening a link in Chrome, developers are also given a dedicated back button within the browser, which will return users to the original app.

As an iOS app developer, when your users want to access web content, you currently have two options: create your own in-app web browser frame, or send users away from your app to a browser.

With Chrome's OpenInChromeController class with x-callback, users can open a web page in Chrome and then return to your app with just one tap.

Chrome's integration tools for developers have existed for several months, but with the release of its own app that supports the opening of links in Chrome, Google is reminding developers about the available functionality.

Apple prevents third party browsers like Chrome from being set as the default iOS browsing option, which has prompted Google to create a workaround that provides a Google-centric experience on Apple's operating system.

Top Rated Comments

(View all)
Avatar
97 months ago
I really dont know how Apple get away with not allowing users to change default browser. Cant see the difference with what they are doing now and what Microsoft did with IE.
Score: 8 Votes (Like | Disagree)
Avatar
97 months ago
This type of thing was one of the reasons I jailbroke mine, the forced default browser/maps was always one of the dumbest decisions Apple ever kept in place for iOS.
Score: 5 Votes (Like | Disagree)
Avatar
97 months ago

My first thought is.… why? The WebKit web browser frame is, like, butt simple (2 lines of code), and it can load web pages from an external URL… just fine (one line of code). Works perfectly. Simply bizarre why I would want to do this. The Chrome browser is not going to be faster than the WebKit plug in (slower, actually)...


What if you want a reload button? Forward and back buttons? Tabs? History?

At some point you realize you want a browser, not just a web view. Rather than roll your own integrated browser in your app, you could just use Chrome now, and when the user presses back enough times they'll end up back in your app. Sounds neat to me.
Score: 3 Votes (Like | Disagree)
Avatar
97 months ago
Apple is getting owned on their own platform due their lack of foresight and plain stubbornness.
Score: 2 Votes (Like | Disagree)
Avatar
97 months ago

I would guess most people do use safari on their Mac.


I tried to find some official stats however nobody seems to be combining Browser + OS right now so theres no way of really knowing. Given Chrome's current marketshare I'm not so sure Safari is actually the most widely used OS X browser.
Score: 1 Votes (Like | Disagree)
Avatar
97 months ago

I really dont know how Apple get away with not allowing users to change default browser. Cant see the difference with what they are doing now and what Microsoft did with IE.


Agreed. Microsoft was sued for this

Hopefully iOS 7 let's users decide what they want or class action lawsuit
Score: 1 Votes (Like | Disagree)

Top Stories

Samsung Mocks Apple for Ditching Power Adapters With iPhone 12 Lineup

Thursday October 15, 2020 11:51 am PDT by
Samsung on its social channels is mocking Apple for removing the power adapter from the iPhone 12 lineup and other iPhone models, pointing out the fact that the Samsung Galaxy smartphones continue to ship with a power adapter. "Included with your Galaxy," reads a Samsung Facebook post that features a picture of a power adapter. Apple notably is no longer providing power adapters or...

iPhone 12 Pro Pre-Orders Already Selling Out With Delivery Times Pushing Into November

Friday October 16, 2020 6:35 am PDT by
Apple today opened pre-orders for the 6.1-inch models of the iPhone 12 and iPhone 12 Pro through its website and the Apple Store app, and estimated delivery times are already slipping into November for select configurations in the United States. Customers ordering a SIM-free/Pacific Blue/128GB version of the iPhone 12 Pro, for example, are already facing an estimated delivery window of...

HomePod Mini Cable is Non-Detachable, Ends With USB-C Connector for Use With Included 20W Power Adapter

Friday October 16, 2020 12:45 pm PDT by
While not detailed in the tech specs, MacRumors can confirm that Apple's new HomePod mini features a non-detachable power cable that ends with a USB-C connector for use with the 20W power adapter included in the box. With the switch to USB-C, the HomePod mini could potentially be powered by a wider range of devices and peripherals, ranging from MacBooks to USB-C battery packs with enough...

Apple's New MagSafe Charger and Cases Begin Arriving to Customers

Saturday October 17, 2020 10:10 am PDT by
Apple's new MagSafe charger and cases have begun arriving to some customers earlier than expected, and images of the accessories have started to surface on Twitter. The photos provide a first look at the products in real-world use. As of writing, some MagSafe cases are also available for pickup at select Apple Stores in countries like the United States, Canada, and Germany. Filip...

New Google App Feature Lets You Hum a Song to Search for It

Saturday October 17, 2020 4:05 am PDT by
Google has added a new feature to its Search app that allows you to hum a song that's stuck in your head, and then use the company's machine learning algorithm to try and identify it. In the Google app or using the Google Search widget, tap the mic icon and say "what's this song?" or click the "Search a song" button. Then start humming the tune for 10-15 seconds. When you're done, the...

Brazilian Certifications Suggest iPhone 12 Mini Features 2,227mAh Battery and iPhone 12 Has 2,815mAh Battery

Friday October 16, 2020 1:08 pm PDT by
Apple's iPhone mini has the shortest battery life out of all the iPhones in the iPhone 12 lineup due to its small size, but Apple has not provided public information about the battery's capacity. A regulatory filing from Brazil, however, suggests the iPhone 12 mini has a battery capacity of 2,227mAh. The same regulatory information says the iPhone 12 features a 2,815mAh battery, which is...

Apple Offering Free AirPods With iPhone 11 Purchase in India as Part of Diwali Celebration

Friday October 16, 2020 12:35 pm PDT by
Apple today launched a new Diwali promotion in India that will see the company providing customers with a set of AirPods with the purchase of any iPhone 11 model. The new iPhone 12 models are not part of the promotion. Apple is offering the standard AirPods With Charging Case free with purchase, but customers can choose to upgrade to the AirPods with Wireless Charging Case or the AirPods Pro....

Apple Event to Unveil First Apple Silicon Macs Could Happen on November 17

Friday October 16, 2020 2:24 am PDT by
Apple will hold another digital event on November 17 to announce its first Apple Silicon powered Macs, according to frequent leaker Jon Prosser. Apple has already said that this year it intends to introduce the first Mac powered by an Apple Silicon chip instead of an Intel processor. One thing it hasn't revealed is the date it will be announced. According to Prosser's source, that date is No...

Apple Online Store Down Ahead of iPhone 12 and 12 Pro Pre-Orders

Thursday October 15, 2020 11:15 pm PDT by
Apple's online store is down ahead of iPhone 12 and iPhone 12 Pro pre-orders, which are set to begin at 5:00 a.m. Pacific Time in the United States. "You're... early," reads the Apple Store message when attempting to visit the U.S. website. "Pre-order begins at 5:00 a.m. PDT. Enjoy the extra sleep." Apple used to do new device pre-orders at 12:01 a.m. Pacific Time, but since last year, has...

When You Can Pre-Order the iPhone 12 and 12 Pro in Every Time Zone

Thursday October 15, 2020 10:55 am PDT by
Pre-orders for the iPhone 12 and the iPhone 12 Pro are set to kick off on Friday, October 16 at 5:00 a.m. Pacific Time, which is a new launch time that Apple adopted as of last year. Apple is planning to make the new devices available in multiple countries around the world simultaneously, so we've made a guide to let MacRumors readers know when pre-orders will in their country. Pre-orders...