摘要: 隔行换色 UIView *view=[[UIViewalloc]initWithFrame:cell.frame]; if (indexPath.row % 2==0) { view.backgroundColor=[UIColor blueColor]; } else { view.backgroundColor=[UIColorwhiteColor]; } cell.backgroundView=view;关于选中背景色的显示以及返回正常色有两张实现方式1 .h 基于UIviewControl UIView *bgsele_view=[[UIView alloc]in... 阅读全文
posted @ 2012-03-30 16:03 Dzs 阅读(1155) 评论(1) 推荐(0)