ios - Change alpha of imageview of UIButton -


is there way change alpha of uibutton's imageview? tried subclassing uibutton , below code, doesn't work.

self.imageview.alpha = 0.0; 

i know can done adding external uiimageview subview uibutton want know if possible without it. thanks!

to conclude comments on both other answers: subclassing and/or adding uiimageview simplest choice archieve persistent, reliant behaviour.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -