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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
回答2:
To avoid spacing , you can set tableview background as your cell's contentView background.