我为tableView 的listData 定义了一个数组。
NSArray *array = [[NSArray alloc] initWithObjects:@"Sleep", @"Bashful", @"Happy", nil];
self.listData = array;
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:SimpleTableIdentifier];
cell.text = [listData objectAtIndex:row];
现在我想向 tableview 添加更多数据。如何将另一个数据连接到它,所以当我单击一个按钮时,数组将为@“A”、“B”、“C”、“D”、nil?