0ndre_
0ndre_

Reputation: 3631

What is iOS 9.3 system font name?

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

Upvotes: 13

Views: 26420

Answers (2)

Joe Benton
Joe Benton

Reputation: 3753

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)

Upvotes: 35

kuzdu
kuzdu

Reputation: 7524

Swift 3 & 4

UIFont.systemFont(ofSize: 15)

Upvotes: 3

Related Questions