ohho
ohho

Reputation: 51941

How to add FontAwesome to Interface Builder's font list?

FontAwesome is installed in Font Book:

  enter image description here

However, it's not shown on Interface Builder's font list:

  enter image description here

How can I select FontAwesome as the font for a UIButton?

Upvotes: 2

Views: 1467

Answers (1)

Liolik
Liolik

Reputation: 801

try this method

1. Add your font to project resources
2. In plist file

enter image description here

3. myButton.titleLabel.font = [UIFont fontWithName:@"yourFontName" size:yourFontSize];

Upvotes: 1

Related Questions