行和部分之间的UITableView空间 [英] UITableView space between row and sections

查看:94
本文介绍了行和部分之间的UITableView空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想让UITableView尽可能靠近iOS设置视图:

I want to make a UITableView as close to the iOS settings view as possible:

如何在不同部分之间创建空间?什么是最好的方法?

How do i create the space between different sections? What's the best way?

推荐答案

您只需在Interface Builder中选择分组样式,它将按部分分隔表格,类似于在屏幕截图中。

You just select grouped style in the Interface Builder and it will separate the table per section, similar as is in the screenshot.

这是附件:

这篇关于行和部分之间的UITableView空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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