Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent e65010d511
commit 81f37e9918

@ -390,7 +390,8 @@ NSString * const kOWSTableCellIdentifier = @"kOWSTableCellIdentifier";
self.tableView.delegate = self; self.tableView.delegate = self;
self.tableView.dataSource = self; self.tableView.dataSource = self;
self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero]; 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 push
#pragma clang diagnostic ignored "-Wpartial-availability" #pragma clang diagnostic ignored "-Wpartial-availability"
self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;

Loading…
Cancel
Save