iphone - UIButton select state's image appears behind normal state's image -


i have uibutton has images set both normal , selected state. understand, when switch button.selected state yes / no, should toggle between 2 images. sure does. selected state image apear behind normal state one.

the reason can see because normal state play button , middle triangle transparent. can see pause button appear behind it.

anyone know problem and, maybe how fix it?

thanks :)

managed fix not using state variable it. i'm explicitly setting image each time. kinda lame works.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -