UITableView取消某一个cell的分割线
2016-01-20 13:40
363 查看
我们都知道UITableViewCellSeparatorStyleNone可以取消整个tableview 的分割线,这适用于小部分情况,更多的时候我们只是需要取消或者改变某个cell的分割线,cell.separatorInset = UIEdgeInsetsMake(0, ScreenWidth, 0, 0);就可以做到。但是呢,我无意中发现如果Tableview 的风格为UITableViewStyleGrouped,则无效,UITableViewStylePlain则有效。希望对你们有帮助。
相关文章推荐
- 给 UIButton、UILabel添加下划线
- .net邮件错误 :The specified string is not in the form required for a subject.
- SQL Server 2016 查询存储(Query Store)示例
- SQL Server 2016 查询存储(Query Store)示例
- x-requested-with 判断是否是Ajax异步请求
- 486E - LIS of Sequence(LIS)
- ANT build.xml文件详解(一)
- OncePerRequestFilter
- Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
- 从客户端(XML)中检测到有潜在危险的 Request.Form 值。
- Django数据库queryset操作
- Access restriction: The type BASE64Encoder is not accessible due to restrict
- UIview需要知道的一些事情:setNeedsDisplay、setNeedsLayout
- 黑马程序员——iOS 开发学习---UIPickerView控件的应用
- 用Ueditor存入数据库带HTML标签的文本,从数据库取出来后,anjular用ng-bind-html处理带HTML标签的文本
- 构建轻量级的Table View注意事项[UIKit]
- 你所不知道的权限-Custom permission issue
- 解决虚拟机中使用ntpdate报错:ntpdate[46700]: no server suitable for synchronization found
- 获得Version和Build版本号
- 从request中获取项目的一些路径