UITableViewcell选中后去掉背景灰色
2015-11-17 16:07
501 查看
// 点击单元格的时候取消选中单元格 -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell * cell = [tableView cellForRowAtIndexPath:indexPath]; cell.selectionStyle = UITableViewCellSelectionStyleNone; }
相关文章推荐
- IOS之UI--小实例项目--添加商品和商品名(使用xib文件终结版) + xib相关知识点总结
- Request类和Response类(转载)
- priority_queue 优先队列使用方法
- RAII(Resource Acquisition Is Initialization资源获取即初始化 )思想
- 向 mysql 插入insert时 汉字 Incorrect string value 解决办法
- iOS开发笔记--UILabel的相关属性设置
- iOS9.0布局神器UIStackView
- RequireJS与SeaJS模块化加载示例
- Run-Time Check Failure #0,The value of ESP was not properly saved 错误解决
- IOS8以上的UIAlertView
- 【原创】Silverlight的ComboBox.SelectValue无法赋值
- java中stringBuilder的用法
- 封装的UITextField
- UICollectionView创建 xib
- How to Back up and restore SharePoint 2013 using a VSS requestor
- UVA 题目10401 Injured Queen Problem(DP)
- Android 应用程序窗体显示状态操作(requestWindowFeature()的应用)
- iOS CoreBluetooth 教程
- leetcode #63 Unique PathsII
- leetcode #62 Unique Paths