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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -