iphone - how can i get object from tag? -


i have 1 view .in view have 2 buttons .

i know tag of button . want change image of button.

how can change image tag?

uibutton *button = (uibutton *)[myview viewwithtag:mytag]; [button setimage:... forstate:...]; 

Comments

Popular posts from this blog

c# - BasicHttpBinding equivalent CustomBinding using WCF Client and PHP WebService -

android - Cannot use ndk-build on Cygwin -

sql server - python to mssql encoding problem -