1
我尝试做这样的值:变量名的INT I
for (int i=0; i<8; i++) {
UIButton *btn_i = [[UIButton alloc] initWithFrame:CGRectMake(0 * numberRowsOfMenu, 0 * heightOfRow, btnWidth, btnHeight)];
}
其中UIButton *btn_i
是i
价值。
有可能在的OBJ-C?
你不会得到太多milage这些计算`0 * numberRowsOfMenu,0 * heightOfRow` – 2011-12-13 18:22:24
我知道,这不是完整的参数:)的 – 2011-12-13 18:23:51