How can I make the text in one of the buttons in my UISegmentedControl span multiple lines?
For iOS 12, the below code will work like charm
[[UILabel appearanceWhenContainedInInstancesOfClasses:@[[UISegmentedControl class]]] setNumberOfLines:0];