Is there a way to completely remove the line separating the two segments in a UISegmentedControl?
Setting the segmentedControlStyle is not helping.
segmentedControlStyle
Use this method to change your segment divider image:
[segmentControl setDividerImage:dividerimg forLeftSegmentState:UIControlStateNormal rightSegmentState:UIControlStateNormal barMetrics:UIBarMetricsDefault];