Tint 2 UIButton on single Click
I have two button say button1 and button2 declared as
- (IBAction)button1:(id)sender;
- (IBAction)button2:(id)sender;
What I want to do is, when button1 is click button 2's tint color should
be changed, so its like both button1 and 2 are same, when I click on
button1 the tint should also effect in button2 as if button2 is also
clicked, so its appearance should be like clicking two buttons at once
when I click on button1. Is this possible?
My UserInteraction for button2 is disabled as I dont need its click event.
On my button1 click I need button2 to also tint giving it an appearance
like button 1 and 2 are simultaneously clicked.
No comments:
Post a Comment