From 81f37e99188b2f3d5cbef954ea338fb243a31305 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Thu, 16 Nov 2017 09:39:48 -0500 Subject: [PATCH] Respond to CR. // FREEBIE --- Signal/src/ViewControllers/OWSTableViewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Signal/src/ViewControllers/OWSTableViewController.m b/Signal/src/ViewControllers/OWSTableViewController.m index c9000b4006..bfa2006d99 100644 --- a/Signal/src/ViewControllers/OWSTableViewController.m +++ b/Signal/src/ViewControllers/OWSTableViewController.m @@ -390,7 +390,8 @@ NSString * const kOWSTableCellIdentifier = @"kOWSTableCellIdentifier"; self.tableView.delegate = self; self.tableView.dataSource = self; self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero]; - if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(11, 0)) { + // Fix a bug that only affects iOS 11.0.x and 11.1.x. + if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(11, 0) && !SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(11, 2)) { #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wpartial-availability" self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;