摘要:
1:在- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 代理方法里面设置颜色转换逻辑;2:在-(void)viewDidAppear:(BOOL)animated 重新加载 tableview reloadData;- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ stati... 阅读全文
posted @ 2013-05-20 19:58
cocoajin
阅读(514)
评论(0)
推荐(0)
摘要:
方式一:- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ //cell宽度取系统cell width; CGFloat contentwidth = self.tableView.frame.size.width; //字体大小和下面的 heightForCell保持一致; UIFont *font = [UIFont systemFontOfSize:17.0]; //当前cell数据; NSStri... 阅读全文
posted @ 2013-05-20 18:57
cocoajin
阅读(389)
评论(0)
推荐(0)
浙公网安备 33010602011771号