My project after compiled from Xcode 13.1 and in simulator iOS 15.0 have issues with table view.
Table view cells gets removed completely for that area and empty space is there which is the background of table view.
After scrolling up down multiple times it's some times displaying or sometimes not.
This happening with multiple section of table view cell.
Any one facing this issue, pls suggest.
Thanks
Chandan
CodePudding user response:
please use this in ViewDidLoad()
if #available(iOS 15.0, *) {
mainTableView.sectionHeaderTopPadding = 0
}
CodePudding user response:
I found the existing functionality of table view cell is breaking ion Xcode 13.1 due to some cell height calculation and complexity. So after refactor some feature this issue is is fixed now.
Also noticed View.animation affecting and hiding cell item views. Looks animations are also broken.
I have removed the animation while table view scroll to position.