HSSetTableViewController icon indicating copy to clipboard operation
HSSetTableViewController copied to clipboard

tab的约束问题

Open ghost opened this issue 7 years ago • 0 comments

if (@available(iOS 11.0, *)) {
    self.TableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentAutomatic;
}
[self.TableView mas_makeConstraints:^(MASConstraintMaker *make) {
    make.top.left.right.bottom.mas_offset(0);
}];

这样约束,当列表数据较多的时候iPhone X 在上下滑动的时候不会因为底部的HOME_INDICATOR 遮挡,不知道是不是正确做法,作者看看呗。

ghost avatar Feb 08 '18 02:02 ghost