【发布时间】:2013-03-30 11:17:41
【问题描述】:
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
NSLog(@"%d",indexId);
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
///////////////////// Cell Title /////////////////////
//cell.textLabel.font = [UIFont fontWithName:@"Noteworthy" size:20.0];
cell.textLabel.font = [UIFont boldSystemFontOfSize:14.0];
cell.textLabel.highlightedTextColor = [UIColor orangeColor];
}
///////////////////// Cell Title /////////////////////
cell.textLabel.text = [NSString stringWithFormat:@" %@", [test.arrTitle objectAtIndex:indexPath.row]];
上面的代码我需要更改代码以获取 tableview 单元格标签之间的空间
感谢和问候
【问题讨论】:
-
@Manohar vin 给出了一些想法..但它并不完美
-
你能按照你的要求显示你的截图吗??
-
stackoverflow.com/questions/6216839/… 看看@Flea 屏幕
-
自定义单元使用chesthe pani aipothundi dude
标签: iphone uitableview