BButton icon indicating copy to clipboard operation
BButton copied to clipboard

FA icons always appear as white rectangle

Open chriswill0w opened this issue 11 years ago • 2 comments

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 avatar May 25 '13 19:05 chriswill0w

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 avatar May 31 '13 00:05 chriswill0w

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.

chriswill0w avatar Jun 14 '13 11:06 chriswill0w