views:

72

answers:

1

Currently when you use a UIButton and press down on it, it gives the button a dark overlay as an indicator that the button was pressed. I don't want this as I am implementing my own pressed state.

How can I remove this default?

+1  A: 

You should be able to set it by setting the image for the control state. Think its

[button setBackgroundImage:[UIImage imageNamed:@"Selected_day.png"] forState:UIControlStateHighlighted];
Rudiger
thanks it was very useful for me ....voted...
Ranjeet Sajwan