I have followed the steps discussed in this related question, but without success.
- Added file
fontFile.ttf
to Xcode Project resources. - Added
fontFile.ttf
as a string in the UIAppFonts array in Info.plist. - Added
actualFontName
in the code. - Added file
fontFile.ttf
to target.
I have checked that I am using the actual font name as recognized by Font Book and Finder info (CMD + i
in each). I have also double-checked the spelling and case-sensitivity of the included file name.
The code rendering the label works with other embedded system fonts, but not with the custom TTF. What else could be missing?