0
我的問題如果行返回5然後UITableView
顯示0到5的索引,但我們想打印3到5的任何邏輯' //創建單元格標識符 static NSString * CellIdentifier = @ 「CellIdentifier」;我可以打印可用的customzie行
// Create the cell if cells are available with same cell identifier
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
// If there are no cells available, allocate a new one with Default style
if (cell == nil) {
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
}
cell.textLabel.text = [[no objectAtIndex:indexPath.row]valueForKey:@"name"];
// Configure cell...
我可以打印出值定製範圍
thnx親愛的幫助我 – 2013-03-08 12:16:02