uibutton - iPhone: How to avoid background color coming up when button is selected? -


i have button curved image set foreground image. looks like:

not selected

now when button on pressed state, shows this:

button pressed state

notice grey rectangular color coming around edges. there easy way avoid grey background coming on rectangle ?

you need set property shows touch on highlight enabled.

programmatically can with:

[button setshowstouchwhenhighlighted:yes]; 

Comments

Popular posts from this blog

python - Does anyone know how to configure the hunpos wrapper class on nltk? -

mysql - How to insert just year and month into date field? -