Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Localized UISegmentedControl

I'm currently localizing our ios app, which has proven a smooth ride so far except for one thing. How can I set the label texts of the segments in a UISegmentedControl from the code?

Googling has so far not led me to anything, so all help is appreciated.

Thanks!

like image 923
hfogel Avatar asked Dec 03 '25 16:12

hfogel


1 Answers

Use - (void)setTitle:(NSString *)title forSegmentAtIndex:(NSUInteger)segment

like image 191
Alexander Avatar answered Dec 06 '25 08:12

Alexander