Ive added custom fonts to a react-native project in xcode.
Ive:
- added the .ttf font file to fonts folder
- added the item to the fonts provided by application array in .plist
- confirmed custom fonts are in bundle resources
- confirmed that the font file name is capitalized/lowercase when expected
- confirmed appropriate target membership
- cleaned build folders
- deleted from bundle resources then re-added
The fonts display properly when building the launch screen, they also display in the custom font dropdown. The fonts are accessible from within react-native
Problem: The custom fonts dont render when running on simulator or real device. This seems to be an issue related to the launch screen
The LaunchScreen.xib file contains a UI View with an Image and a label in it.
here are screenshots of the label's attribute inspector and the UIView's file inspector
How to fix?