I have 28 buttons in my application. I need to control them in a single function. All I want to do is make all the buttons visible. I gave tags to the buttons. I tried it with a
You can create a single IBAction method, check tag values and then do what you want to do
- (IBAction)btnAction:(id)sender{ UIButton *btnPressed = (UIBUtton *)sender; // Check button tags and write code accordingly // }