I have successfully added a custom font to my project, and it works fine by executing this line of code, among other things:
[sideScoreLabel setFont:[UIFont fontWithName:@"Caveman" size:34]];
However, I want this custom font to be bold. I researched this, and everyone seems to be saying to add "-Bold" to the end of the font name or "-BoldMT" so it looks like this:
[sideScoreLabel setFont:[UIFont fontWithName:@"Caveman-Bold" size:34]];
When I run the project, it does not seem to work. Does anyone know what I'm doing wrong? Maybe the font I'm using doesn't work with Bolding?
Thanks!
source share