summaryrefslogtreecommitdiffstats
path: root/docs/overview/ios.rst
blob: e52a3953ee917109402d41dcc4512d090ea47398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Firefox for iOS
===============

Firefox iOS is built natively for iOS, and doesn`t use Gecko.

Due to Apple`s restrictions for browsers on iOS, WKWebKit is how users will interact with the web,
and how developers interact with web elements. The chrome around WKWebKit, however, is built in
Swift. UI wise, it is a combination of UIKit and SwiftUI; due to supporting n-2 iOS versions, the
team is limited from moving over to SwiftUI fully.

Firefox uses several external Mozilla packages, namely:

* Mozilla Rust Components for various Rust based application components such as FXAClient, Nimbus, etc.
* Glean SDK for telemetry
* Telemetry (deprecated; not actively used, but not fully removed yet)

Documentation can be found in the project `wiki <https://github.com/mozilla-mobile/firefox-ios/wiki>`_.

WKWebView
---------

WKWebView is part of Apple`s WebKit framework. It supports a complete web browsing experience,
rendering HTML, CSS, and JavaScript content alongside an app`s native views. It can also be thought
of as an API to help render web pages on Apple platforms. For more information on WKWebView itself,
please see `Apple's documentation <https://developer.apple.com/documentation/webkit/wkwebview>`_.