- SDK Version: 41
- Platforms(Android/iOS/web/all): iOS
Our designer told me to use “SF Pro Display” as the app font.
When googling the font, it seems that it is included with iOS, but its name is “San Francisco”. See GitHub - react-native-training/react-native-fonts: Fonts available out of the box in a React Native project
However, when I use
fontFamily: 'San Francisco', I get an error:
fontFamily "San Francisco" is not a system font and has not been loaded through Font.loadAsync.
I tried other names, “SF Pro”, “SF Pro Display”, “SanFrancisco”, but they do not work. Other fonts from the list seem to work.
What am I doing wrong?