如何在表格视图中的两个单元格之间留出空间? [英] How to give space between two cells in tableview?

查看:13
本文介绍了如何在表格视图中的两个单元格之间留出空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要表格视图中两个单元格之间的空格,

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..

这篇关于如何在表格视图中的两个单元格之间留出空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆