What is iOS 9.3 system font name?

25,315

Solution 1

iOS 9 uses SanFranciscoUIDisplay and SanFranciscoText as their default font.

SanFranciscoUIDisplay is used for titles and larger font wheres SanFranciscoText is used for paragraph text and smaller font.

They are the System Font in Xcode or you can download them here (but you need a developer account):

developer.apple.com/fonts/

You can use the default font like this:

Swift 2:

UIFont.systemFontOfSize(15)

Swift 3 and Swift 4:

UIFont.systemFont(ofSize: 15)

Solution 2

Swift 3 & 4

UIFont.systemFont(ofSize: 15)
Share:
25,315
0ndre_
Author by

0ndre_

Swift, php/mysql => iOS apps :3 and of course PYTHON!

Updated on January 26, 2020

Comments

  • 0ndre_
    0ndre_ over 4 years

    I would like to know the name of the default system font on the iPhone. It used to be "HelveticaNeue" I guess , but now?

  • 0ndre_
    0ndre_ about 8 years
    what string should i put in this code? UIFont(name: "String", size: 15.0). Thanks
  • Joe Benton
    Joe Benton about 8 years
    Because it is the system font, you can just use UIFont.systemFontOfSize(15)
  • 0ndre_
    0ndre_ about 8 years
    Oh, I see. OMG :D Thanks
  • Umit Kaya
    Umit Kaya over 7 years
    what is the equivalent of this font in HTML ?