UISegmentedControl text programmatically
Use setTitle:forSegmentAtIndex: to assign the title to your segments of the segmented control.
Hope this would help you.
The correct answer for people using SWIFT 4 would be
segmentedControl.setTitle("Your Title", forSegmentAt: 0)
[segmentedControl setTitle:<YourLocalizedString> forSegmentAtIndex:0];