-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iphone14 pro灵动岛,MJRefresh闪退 #1575
Comments
方便传一个Demo上来吗? |
|
我也遇到类似的问题 并且定位到了原因 |
Demo如下(使用非SceneDelegate方式启动App view.safeAreaInsets.top就会返回精度极高的值) |
描述bug
我使用了JXSegmentedView框架
override func listContainerView(_ listContainerView: JXSegmentedListContainerView, initListAt index: Int) -> JXSegmentedListContainerViewListDelegate {
在NQPersonalQuestionListVC控制器里面,设置
tableView.contentInset = UIEdgeInsets(top: Configs.BaseDimensions.headerInSectionHeight, left: 0, bottom: 0, right: 0)
在iphone14 pro灵动岛,MJRefresh下拉刷新闪退,必现
但是如果设置
tableView.contentInsetAdjustmentBehavior = .never
tableView.contentInset = UIEdgeInsets(top: Configs.BaseDimensions.navigationBarAreaHeight + Configs.BaseDimensions.headerInSectionHeight, left: 0, bottom: safeAreaBottom, right: 0)
不会出现闪退
运行环境
The text was updated successfully, but these errors were encountered: