From: Jay Freeman (saurik) Date: Thu, 12 Jun 2014 06:37:01 +0000 (-0700) Subject: Some minor adjustments to sort of support iOS 2.x. X-Git-Tag: v1.1.10~4 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/1c28763e8f130cbaa2c5652a19bfe16215e50e21 Some minor adjustments to sort of support iOS 2.x. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 9e305afe..8306fdee 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -9864,7 +9864,9 @@ _trace(); emulated_ = [[[CyteTabBarController alloc] init] autorelease]; [emulated_ setViewControllers:[NSArray arrayWithObject:navigation]]; [emulated_ setSelectedIndex:0]; - [emulated_ concealTabBarSelection]; + + if ([emulated_ respondsToSelector:@selector(concealTabBarSelection)]) + [emulated_ concealTabBarSelection]; if ([window_ respondsToSelector:@selector(setRootViewController:)]) [window_ setRootViewController:emulated_]; @@ -10228,7 +10230,7 @@ int main(int argc, char *argv[]) { NSString *path([bundle pathForResource:@"UITableViewLocalizedSectionIndex" ofType:@"plist"]); //path = @"/System/Library/Frameworks/UIKit.framework/.lproj/UITableViewLocalizedSectionIndex.plist"; NSDictionary *dictionary([NSDictionary dictionaryWithContentsOfFile:path]); - _H collation([[[UILocalizedIndexedCollation alloc] initWithDictionary:dictionary] autorelease]); + _H collation([[[$UILocalizedIndexedCollation alloc] initWithDictionary:dictionary] autorelease]); CollationLocale_ = MSHookIvar(collation, "_locale");