我想將arrayVariable1放在頂部和第二個下面。填充表格以提供信息
我用命令:
public override UITableViewCell GetCell (UITableView tableView, NSIndexPath indexPath)
{
UITableViewCell cell = tableView.DequeueReusableCell (cellID);
if (cell == null) {
cell = new UITableViewCell (UITableViewCellStyle.Subtitle, cellID);
}
cell.TextLabel.Text = ArrayVariable1;
cell.TextLabel.Text = ArrayVariable2;
return cell;
}
,但如果我運行它的變量1不出現,就在2