摘要: 为不同的列设置间隔颜色(alternate color),在UTTableView中设置间隔颜色需要重写下面的willDisplayCell:forRowAtIndexPath方法- (void)tableView:(UITableView*)tableView willDisplayCell:(UITableViewCell*)cell forRowAtIndexPath:(NSIndexPath*)indexPath{ if( [indexPathrow] %2) { [cellsetBackgroundColor:[UIColorwhiteColor]]; } else{ ... 阅读全文
posted @ 2012-12-29 14:08 真正搞技术 阅读(197) 评论(0) 推荐(0) 编辑