Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FA icons always appear as white rectangle #21

Open
chriswill0w opened this issue May 25, 2013 · 2 comments
Open

FA icons always appear as white rectangle #21

chriswill0w opened this issue May 25, 2013 · 2 comments

Comments

@chriswill0w
Copy link

No matter what instantiation I use or what FontAwesome icon or BButtonType I always get a simple empty white rectangle as an icon in the GUI of the Simulator or on the iPhone for the BButton I create.

e.g.:
BButton *button = [BButton awesomeButtonWithOnlyIcon:FAIconTwitter type:BButtonTypeInverse];
[self.view addSubview:button];

What am I doing wrong?

@chriswill0w
Copy link
Author

Solved it. I included project via pods but it still could not find the font so I performed this step:
"Add Fonts provided by application key to Info.plist and include FontAwesome.ttf"

@chriswill0w
Copy link
Author

Maybe this should be included in the installation section since apparently cocoapods install is not enough. One has to manually include the font in the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant