Answer the question
In order to leave comments, you need to log in
Why is custom font not showing up in xcode?
I have added my font to the xcode project and set it in the plist, but when I point it in the code to a specific uilabel, it is not displayed. What could be the reason?
Answer the question
In order to leave comments, you need to log in
Most likely, it has a different name from the file name, display all available fonts with the code and find the correct name of your font there. For example like this
for (NSString* fontFamily in [UIFont familyNames]) {
NSLog(@"Font family: %@", fontFamily);
NSLog(@"Fonts %@", [UIFont fontNamesForFamilyName:fontFamily]);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question