Skip to content
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

ios15系统运行顶部标题栏和数据表格间出现间隔 #5

Open
LuckCJC opened this issue Oct 21, 2021 · 2 comments
Open

ios15系统运行顶部标题栏和数据表格间出现间隔 #5

LuckCJC opened this issue Oct 21, 2021 · 2 comments

Comments

@LuckCJC
Copy link

LuckCJC commented Oct 21, 2021

在ios15系统的模拟器下运行会出现顶部标题栏和数据表格间出现一段隔断的空白区域

@qb6bzh
Copy link

qb6bzh commented Nov 12, 2021

我也遇到了同样的问题,其原因是iOS 15 TableView多了一个sectionHeaderTopPadding选项,在CXLinkageSheetView文件里将leftTableView和rightTableView他们的属性设置为0即可

if (@available(iOS 15.0, *)) { _rightTableView.sectionHeaderTopPadding = 0; } else { // Fallback on earlier versions }
if (@available(iOS 15.0, *)) { _leftTableView.sectionHeaderTopPadding = 0; } else { // Fallback on earlier versions }

希望能有帮助

@LuckCJC
Copy link
Author

LuckCJC commented Nov 12, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants