电车蓝衣,茶不醉人人自醉,吾家有女誓换天
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 };
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
iOS 使用UITextField自定义搜索框 实现用户输入完之后“实时搜索”功能
网友评论