ios tableview 设置 tableview 的分割线
实现效果图:

[tableview setseparatorcolor:[uicolor bluecolor]]; //设置分割线为蓝色
隐藏uitableviewcell的分隔线
?| 1 2 3 4 5 6 7 8 |
[self.mytableview setseparatorstyle:uitableviewcellseparatorstylenone];
uitableviewcellseparatorstyle有如下几种
typedef ns_enum(nsinteger, uitableviewcellseparatorstyle) {
uitableviewcellseparatorstylenone,
uitableviewcellseparatorstylesingleline,
uitableviewcellseparatorstylesinglelineetched // this separator style is only supported for grouped style table views currently
};
|
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
原文链接:http://blog.csdn.net/lengshengren/article/details/10969261








发表评论
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。