From 014888d50dcedd8f2a7bcac53bc0ffc1fbb6555f Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Sun, 30 Sep 2018 22:50:49 -1000 Subject: 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 --- CyteKit/ViewController.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CyteKit/ViewController.mm') 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]; } -- cgit v1.2.3