2011-03-07 58 views

回答

3

行標題?你的意思是「移動」,「工作」等?當您使用UITableViewCellStyleValue2作爲您的tableViewCell樣式時,這些標題是textLabel對象

if (!cell) { 
    cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue2 reuseIdentifier:CellIdentifier] autorelease]; 
} 
cell.textLabel.text = @"mobile"; 
cell.detailTextLabel.text = @"(888) 555-5512"; 
+0

非常感謝! – F3d3r3r 2011-03-07 12:25:35