我使用UITableViewCellStyleValue2
,所以我在左侧和右侧都有文字。
它看起来像iPhone地址簿,请看这里的截图:
http://files.zimbra.com/blog/wp-content/uploads/2008/06/screenshot-2008-06-10-022326-0700-1.png
但是如何更改缩进,左侧的文字会有更多的空间?这是可能的还是我需要创建自定义单元格?
最诚挚的问候。
答案 0 :(得分:4)
没有财产可以做到这一点。您必须手动修改两个标签的框架。
有关详细信息,请参阅此答案: How to change the size of the labels on a UITableViewCellStyleValue2 cell? (UITableView iPhone)