客観的に新しい。テーブル ビューに 2 つの値を入れようとしています。これはコードの一部です:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
}
cell.textLabel.font = [UIFont systemFontOfSize:14]; //Change this value to adjust size
cell.textLabel.numberOfLines = 2;
NSString *desc= @"Alight Destination =";
cell.textLabel.text = desc,[alDescArray objectAtIndex:indexPath.row];
return cell;
}
この行cell.textLabel.text = desc,[alDescArray objectAtIndex:indexPath.row];
のテーブルAlight Destination =
は、値を追加せずに表示するだけです[alDescArray objectAtIndex:indexPath.row];
私はどの部分を間違って行いましたか plsは助けてください