There is a way to get partial iOS 12 style back, described at https://stackoverflow.com/a/56458794. But it will only work for solid color backgrounds, because since iOS 12 you could see the background view through the text of selected segment or uncolored portion of the unselected segment.