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):
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)
Author by
0ndre_
Swift, php/mysql => iOS apps :3 and of course PYTHON!
Updated on January 26, 2020Comments
-
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_ about 8 yearswhat string should i put in this code? UIFont(name: "String", size: 15.0). Thanks
-
Joe Benton about 8 yearsBecause it is the system font, you can just use UIFont.systemFontOfSize(15)
-
0ndre_ about 8 yearsOh, I see. OMG :D Thanks
-
Umit Kaya over 7 yearswhat is the equivalent of this font in HTML ?