嗯..我忘记了如何在可可触摸中更改按钮和标签的文本。
请提醒我..
IBOutlet id questionLabel;
IBOutlet id answerButtonOne;
IBOutlet id answerButtonTwo;
IBOutlet id answerButtonThree;
IBOutlet id answerButtonFour;
答案 0 :(得分:3)
UILabel* label;
label.text = @"Foo";
UIButton* button;
[button setTitle:@"Bar" forState:UIControlStateNormal];