'tvOS Table View layout Issues
I am using tableviews in my tvOS application. The screen is divided into 3 table views. The left and right table view is indenting the header, the middle has no issues at all. I have tried the following to remove this indent but it is not working at all. Any help would be appreciated.
cell.focusStyle = .custom
cell.selectionStyle = .none
table.dataSource = self
table.delegate = self
table.backgroundColor = UIColor.white
table.insetsContentViewsToSafeArea = false
table.insetsLayoutMarginsFromSafeArea = false
I believe this is caused by the Safe Area, but when unchecking this it does not work also
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|