Set UISegmentedControl selected segment color
Previously in order to set selected segment color in UISegmentControl we needed to loop through subviews and set the right one like this imagine the uncertainties 😀 But since Xcode 11+ we can directly set selected tint in storyboard like this. In iops 13 + we can also use selectedSegmentTintColor. Makes life easy.