ios - 缺少 UITableView 部分标题插入

标签 ios uitableview insets

如何解决图中所示的问题?

表格 View 的节标题缺少插图。

section header for the tableview is missing an inset.

最佳答案

您可能在代码中或在 Interface Builder 中将分隔符设置为 0(可以在属性检查器中找到:

Separator insets set to 0

这也会导致标题没有插图。左侧的默认值为 15,右侧的默认值为 0。

关于ios - 缺少 UITableView 部分标题插入,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27561823/

相关文章:

iphone - App Store开发者重命名

ios - 应用程序被锁定 malloc -> OSSpinLockLock$VARIANT$mp

json - 为什么我在快速解析时没有在按钮操作中获取所有 cellForRowAtindexPath 文本字段值

objective-c - UINavigationController 在 TableView 上使用分组?

ios - UIButton 的 contentEdgeInsets 支持 NSDirectionalEdgeInsets 吗?

CSS3 框阴影淡出效果

ios - UICollectionView 不显示单元格和崩溃应用程序 Xcode 10.0

ios - 触摸开始错误;我触摸屏幕的任何地方游戏都会崩溃

ios - 从嵌入在 tableView 中的 collectionView 显示 xib

shadow - 带有 deg.. 的框内嵌阴影(参见示例)