PrideChung/FontAwesomeKit

Icons looks blurry on iPhone 6 & 6 Plus

pontus-andersson opened this issue · 2 comments

When converting a FAKIcon to an UIImage (example below), the image looks sharp on iPhone 5S (@2x) but on iPhone 6 Plus it's a bit blurry.

iPhone 5S
fakicon_issue2

iPhone 6 Plus
fakicon_issue

FAKIcon *filterIcon = [FAKIonIcons iosSettingsStrongIconWithSize:22.0];
[filterIcon addAttribute:NSForegroundColorAttributeName value:WHITE_COLOR];
UIImage *filterImage = [filterIcon imageWithSize:CGSizeMake(filterIcon.iconFontSize, filterIcon.iconFontSize)];
UIBarButtonItem *filterItem = [[UIBarButtonItem alloc] initWithImage:filterImage style:UIBarButtonItemStylePlain target:self action:@selector(showFilterMenu)];
self.navigationItem.rightBarButtonItem = filterItem;

Same for me. Any ideas?

The problem was related to FontAwesomeKit. It was because the project did not have native resolution for the app on iPhone 6 and 6 Plus.