11

如何在我的

-(IBAction)clicked:(id)sender

方法?

谢谢

4

1 回答 1

43

那这个呢:

- (IBAction)clicked:(id)sender {
  UIButton *button = (UIButton *)sender; 
  NSString *buttonTitle = button.currentTitle;
}
于 2010-07-03T12:38:45.573 回答