Quantcast
Channel: C++博客-所有随笔
Viewing all articles
Browse latest Browse all 7882

原:去掉UITableView的分割线

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


佳为好友 2012-12-29 11:07 发表评论

Viewing all articles
Browse latest Browse all 7882

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>