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

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -