|
@@ -368,7 +368,11 @@ final class StatisticsPageController: BaseGroupTableViewController {
|
|
|
tableView.separatorStyle = .none //去除分割线
|
|
|
tableView.register(UINib(nibName: "StatisticsPageCell", bundle: nil), forCellReuseIdentifier: cellIdentifier)
|
|
|
tableView.rowHeight = 44.f
|
|
|
- tableView.contentInset = UIEdgeInsets(top: -25, left: 0, bottom: -25, right: 0)
|
|
|
+ if(isIphoneX){
|
|
|
+ tableView.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)
|
|
|
+ }else {
|
|
|
+ tableView.contentInset = UIEdgeInsets(top: -25, left: 0, bottom: -25, right: 0)
|
|
|
+ }
|
|
|
setupRefreshHeader(tableView) {[unowned self] in
|
|
|
self.getStatisticsList(isLoading: false)
|
|
|
}
|