Xcode13+iOS15 mj_footer 显示位置的问题
Sunshow opened this issue · comments
描述bug
升级到Xcode13+iOS15以后,原来显示在界面外的 mj_footer 直接显示在界面内了
必现/偶发?
必现
怎么样重现这个bug
`
_tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height) style:UITableViewStyleGrouped];
[self.view addSubview:_tableView];
_tableView.mj_footer = [MJRefreshBackNormalFooter footerWithRefreshingTarget:self refreshingAction:@selector(loadMoreFuntion)];
`
你期望的结果是什么?
mj_footer在未上拉时不可见,目前看是原先在 HomeIndicator 安全区下的内容被显示了出来,或者是显示的高度少计算了安全区的高度
运行环境
- iPhone13 Pro
- iOS15
- Xcode13
额外的
用Xcode12发布的appstore版本在iOS15使用时无此问题
虽然不清除具体为啥,设置了 ignoredScrollViewContentInsetBottom 忽略掉了