iOS Fonts
Typography
Design Resources
Apple
Graphic Design

iOS fonts list, the system fonts on iPhone and iPad

Codemia Knowledge Hub ·

The iOS system font is San Francisco (SF Pro), used since iOS 9. Before that, iOS 7 and 8 used Helvetica Neue. Fonts such as Arial and Times New Roman are available as fallbacks for documents and specific use cases rather than the system UI.

The main iOS system fonts

  1. San Francisco (SF Pro):
    • Introduced: iOS 9
    • Characteristics: Apple's current system font, used across all of its platforms. A sans-serif typeface designed for legibility on both small and large screens. It has variations such as SF Compact for devices like Apple Watch.
  2. Helvetica Neue:
    • Introduced: iOS 7
    • Characteristics: The default font for iOS 7 and 8. A refined sans-serif typeface with a modern look, designed for clarity.
  3. Arial & Times New Roman:
    • Fallback fonts for documents and specific situations, not the system UI.

Where each font fits

Font NameIntroducedCharacteristicsTypical Use Cases
San FranciscoiOS 9Sans-serif, clean, versatile, legibleSystem UI, apps across Apple devices (e.g., iPhone, iPad)
Helvetica NeueiOS 7Sans-serif, refined, clearSuitable for legacy iOS 7 & 8 UI design or custom document rendering
Arial-Sans-serif, ubiquitous, simpleFallback for custom documents or apps running on older systems
Times New Roman-Serif, traditional, authoritativePreferred for document-based applications and formal textual content

Setting the font in code

Applying San Francisco or another system font takes a few lines in your app's UI code.

Example: Setting Font in Swift

swift
1import UIKit
2
3let label = UILabel()
4
5// San Francisco, the system font
6label.font = UIFont.systemFont(ofSize: 17, weight: .semibold)
7
8// A named font, with a fallback if it is not available
9label.font = UIFont(name: "HelveticaNeue", size: 17) ?? UIFont.systemFont(ofSize: 17)
10
11// Text style that scales with Dynamic Type
12label.font = UIFont.preferredFont(forTextStyle: .body)
13label.adjustsFontForContentSizeCategory = true

UIFont(name:size:) returns nil when the name is not installed, so keep a fallback. UIFont.familyNames lists every family available on the device.


Free course
Beginner
7 lessons
2 hours
Tackling System Design Interview Problems

A short course that equips you with the skills to approach system design interviews methodically.

Start the free course
Basis Lab
No course covers this one yet

Basis Lab writes one for you from a sentence about what you want to be able to do, then teaches it and checks you understood. Your first course is free.

Build my course
Data Structures & Algorithms practice on Codemia

Step through 300+ coding interview problems with animated visualisers that show the data structure changing as the code runs. The Blind 75 are free.

Practice algorithms