cell 能够响应 select,但是选中后的颜色又不发生改变的方法

设置 cell.selectionStyle = UITableViewCellSelectionStyleNone;

  1. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath  
  2. {  
  3.     //cell被选中后的颜色不变  
  4.     cell.selectionStyle = UITableViewCellSelectionStyleNone;  

 

posted on 2012-09-09 01:57  easonoutlook  阅读(524)  评论(0编辑  收藏  举报