Commit 7f6082b1 authored by 汪洋's avatar 汪洋

iphonex适配

parent b0ec8b1b
......@@ -54,12 +54,16 @@
}
_table.backgroundColor = [UIColor clearColor];
// if(@available(iOS 11.0, *)) {
// _table.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
// }
[self.view addSubview:_table];
[_table mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(self.view.mas_left);
make.right.equalTo(self.view.mas_right);
make.top.mas_equalTo(OCNavigationBar.barHeight);
make.bottom.equalTo(self.view.mas_safeBottom);
make.bottom.mas_equalTo(0);
}];
__weak __typeof(self)weakSelf = self;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment