给Cell间隔颜色

  

       if (indexPath.row %2 ==1){

    

       cell.backgroundColor = [UIColor colorWithRed:.7 green:.7 blue:.7 alpha:1];

    

        }

     else{

    

     cell.backgroundColor = [UIColor colorWithRed:.9 green:.9 blue:.9 alpha:1];

    

   }

 

 

posted @ 2014-06-17 14:07  墨禾米说  阅读(188)  评论(0编辑  收藏  举报