Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add missing San Francisco font inside Xcode?

Tags:

xcode

ios

fonts

I am running Xcode 8.3 , but I don't seem to have the San Francisco font present.

I already download it from https://developer.apple.com/fonts/ and install it. I can see it when I open Font Book on my mac.

Are there any additional steps to add the font inside Xcode ?

edit: I am designing my app in Interface Builder so I need to have the font in Xcode to see how it looks when I run it.

like image 898
Adrian Avatar asked Aug 31 '25 22:08

Adrian


2 Answers

Yes, you need to include it in your plist. There should be a plenty of threads with that. This might help you

like image 140
Luzo Avatar answered Sep 03 '25 14:09

Luzo


If you are targeting iOS 9 or later San Francisco is the default font. Usage in swift 3 UIFont.systemFont(ofSize: 15)

like image 25
Sam Ngugi Avatar answered Sep 03 '25 13:09

Sam Ngugi