【发布时间】:2011-12-24 11:19:03
【问题描述】:
我想将 tableViewCell 内标签的背景颜色设置为不透明,但我需要 Apple 提供的 uiTableViewCell 的默认背景颜色。
那么我怎样才能得到这个背景或者它是什么颜色的呢?
问候
【问题讨论】:
-
不改变背景颜色时,它们有什么颜色?这应该是默认值。
-
如何使用这些标签的 superView 属性并从该点获取背景颜色?
-
这也行不通。我得到黑色背景。这可能是因为单元格的 backgroundColor 为 null...
标签: ios uitableview default background-color