@@ -72,6 +72,9 @@
self.tableView.emptyDataSetDelegate = self;
self.tableView.emptyDataSetSource = self;
self.tableView.delegate = self;
+ if (@available(iOS 11, *)) {
+ self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
+ }
// calculate _serverUrl
if (!_serverUrl)
@@ -140,6 +140,9 @@
self.tableView.tableFooterView = [UIView new];
self.tableView.separatorColor = [NCBrandColor sharedInstance].seperator;
self.searchController.delegate = self;
@@ -53,6 +53,10 @@ class CCMore: UIViewController, UITableViewDelegate, UITableViewDataSource, CCLo
tableView.dataSource = self
tableView.separatorColor = NCBrandColor.sharedInstance.seperator
+
+ if #available(iOS 11.0, *) {
+ tableView.contentInsetAdjustmentBehavior = .never
themingBackground.image = UIImage.init(named: "themingBackground")