diff options
author | Sam Bingner <sam@bingner.com> | 2018-09-30 22:50:49 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-09-30 22:50:49 -1000 |
commit | ae2e967c43880fbd1b7e7f130541e9dbbca0debf (patch) | |
tree | 09441918f5ad09a47a750885187e44493a5e8b12 /CyteKit/ViewController.mm | |
parent | e1fe198695e4c91f62772fb1dbbfdc4607503cdc (diff) |
Make Cydia compatible back to iOS5 - unable to support older with this apt version due to newer apt requiring functions provided via libc++ on iOS
Diffstat (limited to 'CyteKit/ViewController.mm')
-rw-r--r-- | CyteKit/ViewController.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CyteKit/ViewController.mm b/CyteKit/ViewController.mm index 72b7593..2e5d5a1 100644 --- a/CyteKit/ViewController.mm +++ b/CyteKit/ViewController.mm @@ -84,7 +84,8 @@ // Load on first appearance. We don't need to set the loaded flag here // because it is set for us the first time -reloadData is called. - self.navigationController.navigationBar.prefersLargeTitles = YES; + if (kCFCoreFoundationVersionNumber >= 1443.00) + self.navigationController.navigationBar.prefersLargeTitles = YES; if (![self hasLoaded]) [self reloadData]; } |