iOS Question how to change button image by code

Yves Rossignol

Member
Licensed User
Do you know how to change the image for a button by code instead of having a lot of layout...


like: btnp1.xxxxx = image1.jpg

where xxxxx is the name of the properties to change in code...

Thanks

Yves
 

ilan

Expert
Licensed User
Longtime User
Upvote 0
Top