summaryrefslogtreecommitdiff
path: root/CyteKit/ViewController.mm
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-04 15:06:42 -1000
committerSam Bingner <sam@bingner.com>2019-05-27 14:26:42 -1000
commitc87c60d2bb54bdbb43455b5dbedcf2af53c9aaed (patch)
treeda2a5a1416e2c7db41563f8161c26bc6150448c8 /CyteKit/ViewController.mm
parent2e6ea0ffb9c4027bcd49667a55a0d59a52b811dd (diff)
Specify arches to compile via variable and clear up iOS11 availability warning
Diffstat (limited to 'CyteKit/ViewController.mm')
-rw-r--r--CyteKit/ViewController.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/CyteKit/ViewController.mm b/CyteKit/ViewController.mm
index 2e5d5a1..7f2a53f 100644
--- a/CyteKit/ViewController.mm
+++ b/CyteKit/ViewController.mm
@@ -84,8 +84,10 @@
// 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.
- if (kCFCoreFoundationVersionNumber >= 1443.00)
+#ifdef __arm64__
+ if (@available(iOS 11, *))
self.navigationController.navigationBar.prefersLargeTitles = YES;
+#endif
if (![self hasLoaded])
[self reloadData];
}