佳为好友

原:去掉UITableView的分割线

创建:2012.03.15
如果是UITableViewStylePlain类型的UITableView,则可以直接调用
tableview.separatorStyle = UITableViewCellSeparatorStyleNone;
tableview.separatorColor = [UIColor clearColor];
如果是UITableViewStyleGrouped类型,则除了上面的调用外,还需要把cell的contentView的color设定为clearColor。可能还需要设定opaque为透明。
+++++

posted on 2012-12-29 11:07 佳为好友 阅读(355) 评论(0)  编辑 收藏 引用 所属分类: UI

导航

<2026年10月>
日一二三四五六
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

留言簿(1)

随笔分类

搜索

最新评论

评论排行榜