当前位置: 移动技术网 > IT编程>移动开发>IOS > IOS 基础之设置 tableview 的分割线

IOS 基础之设置 tableview 的分割线

2019年07月24日  | 移动技术网IT编程  | 我要评论

电车蓝衣,茶不醉人人自醉,吾家有女誓换天

 ios tableview 设置 tableview 的分割线

实现效果图:

  [tableview   setseparatorcolor:[uicolor    bluecolor]];  //设置分割线为蓝色

隐藏uitableviewcell的分隔线

[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
};


感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网