Episode 28: by Mark Cogan in Paris, France (January, 2022)
In 2022, Chrome on iOS will celebrate its 10th anniversary. Chrome is one of the most widely used iOS apps—it's currently the number 2 Utility app in the US App Store.
Chrome on iOS provides all of the great Chrome features our users love, including Sync, Translate, Incognito, Password Manager, Autofill, and many more. Chrome on iOS also integrates with native iOS features such as multi-window and device-wide password autofill.
However, there's one major thing that makes Chrome on iOS very different from all other Chrome platform implementations.
Chrome on iOS doesn't use Blink.
Because of Apple's App Store rules, Chrome on iOS has to use the iOS platform APIs for fetching and rendering web content. So Chrome on iOS uses WebKit, Nitro and CFNetwork where other Chrome platforms are using Blink, V8 and
//net. Due to this, and the limited API available for iOS apps to interact with web page content, many Chrome features that use the
Cross-platform features in
//components are structured to share as much code as possible across all platforms while keeping
//content dependencies siloed:
content/ # code with dependencies on //content.
core/ # cross-platform code with no //content dependencies.
Other important differences between Chrome on iOS and other platforms include:
- iOS apps are required to be single-process, so Chrome on iOS can't
- Chrome on iOS is written in Objective-C++ (a mix of C++ and Objective-C), along with some Swift.
- While you can compile and run Chrome on iOS directly on an iOS device, you can also do a lot of feature development in the quite capable device simulator that Apple provides.
Get started with Chrome on iOS
You will need:
- A macOS computer, 64-bit, running macOS 11.3 or higher. Apple Silicon is supported.
- Xcode, the IDE for Apple platforms, version 13.0 or higher.
- The current version of the JDK.
See the build instructions for more information.
Fetching the source is much like other platforms:
After that, you can build from the command line (or from Xcode):
autoninja -C out/Debug-iphonesimulator chrome
Learn more about Chrome on iOS feature development
If you're typically an iOS developer and new to Chromium, refer to the documentation on important abstractions and data structures.