我想在我拥有的每九个插座(UIButton,称为 btn1、btn2、btn3 ... btn9)上循环一次,例如:
for(int i = 0; i < 9; i++) {
[[btn(%@), i] setImage:someOne forState:UIControlStateNormal]; // I know that this is ridiculous, but it's just a way to demonstrate what I'm saying. :-)
}
任何提示?
非常感谢!