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

Error With [UIImage imageWithColor:cornerRadius:] #29

Closed
peoplecallmefrancois opened this issue May 25, 2013 · 1 comment
Closed

Error With [UIImage imageWithColor:cornerRadius:] #29

peoplecallmefrancois opened this issue May 25, 2013 · 1 comment

Comments

@peoplecallmefrancois
Copy link

I call the following, as stated in the readme

[self.navigationController.navigationBar configureFlatNavigationBarWithColor:[UIColor clearColor]];

But an exception is raised on line 15 of UINavigationBar+FlatUI.m

[self setBackgroundImage:[UIImage imageWithColor:color cornerRadius:0]
           forBarMetrics:UIBarMetricsDefault & UIBarMetricsLandscapePhone];

+[UIImage imageWithColor:cornerRadius:]: unrecognized selector sent to class 0xdd5c54

Is this an error with FlatUIKit?

How do I fix this?


I checked in the debugger, and my navigationBar does exist

@peoplecallmefrancois
Copy link
Author

Ok. I fixed it. For some reason XCode did not add target membership for the UIImage category. #xcodeglitches

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