I have been gone through following link
http://stackoverflow.com/questions/351919/how-to-programatically-highlight-a-uibutton
in first two lines of their code, i found
UIImage* normalImage = [infoButton imageForState:UIControlStateNormal];
UIImage highlighted = [_infoButton imageForState:UIControlStateHighlighted];
It seems that they have used multiple images, for their infoButton.
What i need is explained below,
I have an application with many buttons,
Every button has different images & that makes my application very huge in size.
If I make different images for normalState & highlightedState my App size goes to double.
So, i need some ideas like blur, or size down of button or image, or alpha down, for my button image,
i don't know the code & that's my Question.
so, how to animate/highlight the button on tapped in iPhone?
Thanks in advance.