Try adding your font under Copy bundle resources under build phases.
Cannot use a custom font in IOS Application [duplicate]
-
30-05-2022 - |
Question
I am trying to use Accord Light SF Italic font in my application. (Here is the link to the font: http://www.fontpalace.com/font-details/Accord+Light+SF+Italic/)
I have added the font to my resources, updated in the info.plist, done everything but cannot manage the font to show up.
I guess the problem is with the name I should pass to the -[UIFont fontWithName] function. I have tried many variants, like: Accord-Italic, Accord-LightItalic, Accord Light SF Italic, but none of the work. I know I should use the system name of the font, but I do not know how to find it.
Please advise, Thanks!
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow