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

Icon not showing and app crash on second access #63

Open
mhermosi opened this issue May 24, 2016 · 2 comments
Open

Icon not showing and app crash on second access #63

mhermosi opened this issue May 24, 2016 · 2 comments

Comments

@mhermosi
Copy link

Hi,

I have just included the NSString+FontAwesome.h and .m on my project along with FontAwesome.ttf.
I made the changes on info.plist and also verified that Build Phase is correct copying the resources. I also checked the output folder and expected files are there.

So now the problem is the icon is not shown when I first access. just a box with an ? appear then when try to access a second time app chrash on the following method:

  • (NSString*)fontAwesomeIconStringForEnum:(FAIcon)value {
    return [NSString fontAwesomeUnicodeStrings][value];
    }

with error: EXC_BAD_ACCESS

Thanks in advance,

-Martin

@mhermosi
Copy link
Author

finally I have used the UIImage+FontAwesome instead of NSString+FontAwesome to display the icon.

@raykoon
Copy link

raykoon commented Jul 8, 2016

Only need to add ARC Mode to solved this issue.

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

2 participants