I'm currently going through my app in the iOS 15 Beta to make sure all of the UI is looking good and I found that on one of my table views, there are now thick white lines above each section that were not present prior to iOS 15. As a result, not all of the sections fit on the table view (and, of course, it's also an eyesore). Has anyone else encountered this when checking out iOS 15? If so, have you found a fix for this issue?
Asked
Active
Viewed 336 times
1
-
2Does this answer your question? [Extra padding above table view headers in iOS 15](https://stackoverflow.com/questions/68155090/extra-padding-above-table-view-headers-in-ios-15) – Jakub Truhlář Aug 29 '21 at 08:25
1 Answers
4
Ok, I figured it out. It's a one-line fix:
self.tableView.sectionHeaderTopPadding = 0.0f;

michaelthedeveloper
- 204
- 2
- 13