diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2013-12-24 11:20:31 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2013-12-24 11:20:31 +0000 |
commit | 1525054be03fc2dc6f354792006099012765ce43 (patch) | |
tree | 37d524e4547bcc322926d1eea676e27437fc85ab | |
parent | 8317830b107c104db6859ad2364688d05d31fb2a (diff) |
Make uicache work on iOS 7 (patch from evad3rs).
-rw-r--r-- | uicache.mm | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -180,7 +180,10 @@ int main(int argc, const char *argv[]) { for (NSString *identifier in bundles) { NSString *path([bundles objectForKey:identifier]); - [workspace registerApplication:[NSURL fileURLWithPath:path]]; + if (kCFCoreFoundationVersionNumber >= 800) + [workspace registerApplicationDictionary:[after objectForKey:identifier]]; + else + [workspace registerApplication:[NSURL fileURLWithPath:path]]; } for (NSString *path in removed) |