swift - How to change text of a button with a segmented controller? -


i have button links view control. trying change text of button segmented control. using jared davidson tutorial on segmented controls changing text of labels. how change text of button? also, when attempted japanese characters, got error on line: "invalid character in source file". thank you!

you can change button title japanese characters way:

yourbutton.settitle("ボタンのタイトル", forstate: uicontrolstate.normal) 

Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -