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

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -