ios - Change button background color using swift language -
i new swift language. can tell me how alter background color of button using swift language?
button.backgroundcolor = uicolor.bluecolor()
or other color: redcolor(), greencolor(), yellowcolor() ,etc.
another alternative rgba color:
button.backgroundcolor = uicolor(red: 0.4, green: 1.0, blue: 0.2, alpha: 0.5) ios iphone colors uibutton swift
No comments:
Post a Comment