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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -