ios - Changing text of UIButton programatically swift -
ios - Changing text of UIButton programatically swift -
simple question here. have uibutton, currencyselector, , want programatically alter text. here's have:
currencyselector.text = "foobar" xcode gives me error "expected declaration". doing wrong, , how can create button's text change?
button.settitle("button title", forstate: uicontrolstate.normal)
ios xcode swift uibutton
Comments
Post a Comment