佳为好友

原:去掉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 佳为好友 阅读(319) 评论(0)  编辑 收藏 引用 所属分类: UI

导航

<2026年3月>
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

留言簿(1)

随笔分类

搜索

最新评论

评论排行榜