当前位置:首页 > 通信资讯 > 正文

ios tableview 设置 tableview 的分割线

实现效果图:

ios 基础之设置 tableview 的分割线(ios 基础之设置 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

如果您对该产品感兴趣,请填写办理(客服微信:xiaoxiongyidong)

为您推荐:

发表评论

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