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

iOS 8.x Support Needed #14

Open
tateu opened this issue Oct 28, 2014 · 0 comments
Open

iOS 8.x Support Needed #14

tateu opened this issue Oct 28, 2014 · 0 comments

Comments

@tateu
Copy link

tateu commented Oct 28, 2014

UIImage kitImageNamed returns null and kCFCoreFoundationVersionNumbers are needed for iOS 8.x versions.

As a quick fix, in UIStatusBarCustomItemView.mm, I have been using:

UIImage* image_color = [$UIImage imageWithContentsOfFile: [NSString stringWithFormat: @"/System/Library/Frameworks/UIKit.framework/%@_%@_Color.png", isLockscreen?  @"LockScreen" : isBlack ? @"Black" : @"White", itemName]];
UIImage* image_base = image_color ? 0 : [$UIImage imageWithContentsOfFile: [NSString stringWithFormat: @"/System/Library/Frameworks/UIKit.framework/%@.png", expandedName_default]];
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