到目前为止,我一直在使用
[button1 addTarget:self action:@selector(newAction) forControlEvents:UIControlEventTouchUpInside];
这增加了一个额外的动作(我认为).如何用新的操作替换初始操作?
iphone uibutton
iphone ×1
uibutton ×1