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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -