Re: [iPhone] UIButton adding glow effect for a custom button with image

2009-11-22 Thread Tharindu Madushanka
It seems like I did a mistake in Interface Builder setting my image as button image, not as background. Because of that showsTouchWhenHighlighted effect must not have worked. Now its adding some nice effect without any hard work Sorry :( ___ Cocoa-dev

[iPhone] UIButton adding glow effect for a custom button with image

2009-11-21 Thread Tharindu Madushanka
Hi I have a custom button with image as background. So when its is selected I have to add some effect on top of it to indicate that its selected. So one way of doing that could be to add another image for that perticular button state. I have tried with showsTouchWhenHighlighted property and