UIButton矩阵-无法正确显示

时间:2020-10-09 12:25:55

标签: arrays swift xcode uibutton

我想拥有一个9x9的2个UIButton数组(矩阵)。 这是我的代码:

async

它看起来像这样: Screenshot (only shows the x=0 row)

有人看到问题了吗?

谢谢!

1 个答案:

答案 0 :(得分:1)

static String getString(byte[] testok)
{
   return UTF8Encoding.UTF8.GetString(testok);
}

Yo并未在x行之间重置y变量

但是我认为最好使用UIStackViews