4

I'm trying to use different SF fonts in an app I'm styling. The original design uses a variation of fonts like...

SF Compact Display-Black SF Compact Display-Bold SF Compact Display-Heavy SF Compact Display-Regular SF Compact Display-Semibold SF Compact Text-Medium SF Compact Text-Semibold SF UI Text-Regular

But my iOS simulator doesn't recognize any of these.

Since SF is the default font, should I be instead using fontWeight to make the font bold, heavy, regular, etc?

Dres
  • 1,449
  • 3
  • 18
  • 35
  • Does it work as expected on a physical device? Are you able to test that? Perhaps its just the simulator, not something you're doing. – KSigWyatt Oct 19 '17 at 16:37
  • Please give some more information on how did you add all the variants of the fonts and how are you trying to use them in code. – bennygenel Oct 19 '17 at 16:38
  • The fonts listed is how I would try to use them. Also tried `San Francisco` and `SFCompactDisplay-Heavy` – Dres Oct 19 '17 at 17:31
  • Can you try with [this one](https://stackoverflow.com/questions/29310828/use-custom-font-in-react-native)? – lwinkyawmyat Oct 20 '17 at 01:06

0 Answers0