首页 > 其他 > 详细

tableView的separatorStyle和separatorColor属性

时间:2015-09-05 01:16:01      阅读:227      评论:0      收藏:0      [点我收藏+]

我们可以通过设置tableView的separatorStyle属性来设置有无分割线以及分割线的风格,其中style定义如下:

typedef enum {
    UITableViewCellSeparatorStyleNone,
    UITableViewCellSeparatorStyleSingleLine,
    UITableViewCellSeparatorStyleSingleLineEtched
} UITableViewCellSeparatorStyle;

同时还可以通过tableView的separatorColor属性来设置分割线的颜色。

tableView的separatorStyle和separatorColor属性

原文:http://www.cnblogs.com/liuchanghong/p/4782649.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!