How to give space between two cells in tableview?(如何在表格视图中的两个单元格之间留出空间?)
问题描述
我想要表格视图中两个单元格之间的空格,
I want a space between two cell in table view,
我想要这样的细胞,
我该怎么做?
推荐答案
您也可以在 UITableView 中创建 TableView 的 Sections... 此方法是强制性的,因此创建 section 并且在每个 section 中您可以像在您的图片..
You can create a Sections of TableView also in the UITableView... This methods are compulsory so create sections and in each section you can create single cell as in your picture..
这篇关于如何在表格视图中的两个单元格之间留出空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!