I have UITableView
with 1 section and 10 rows with blue background. Why am I getting space between the cells? How do I remove it?
For performance reasons, a table view's data source should generally reuse UITableViewCell objects when it assigns cells to rows in its tableView(_:cellForRowAt:) method. A table view maintains a queue or list of UITableViewCell objects that the data source has marked for reuse.
This is the default behaviour on tvOS. This way there is space to scale up the cell which has focus without the scaled cell overlapping its neighbours.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With