http://stackoverflow.com/questions/1092875/how-to-duplicate-a-uibutton-in-objective-c
1down vote |
To add to Jim‘s answer above using a category
if you wanted to copy all of the actions from one button to another, add something like this:
|
时间: 2024-11-13 06:02:34