Reply:
button.tag button.titleLabel.text can
Reply:
Tag value to each button. According to the tag value can be taken to this button
UIButton * btn = [self.view viewWithTag: tag];
Each button can be used
[button addTarget: self action: @ selector (buttonPressed :) forControlEvents: UIControlEventTouchUpInside];
Click the button to add an event handler after
No comments:
Post a Comment