Why are my UISegmentControl segments highlighting in iOS 8 when I have set background images for all states?
问题 In iOS 6/7, I have used UISegmentedControl with background images to create an effect like so: I accomplished this by setting the background image for the UISegmentedControl for each of standard states, like so: UIImage *segmentedControlBackgroundImage = [UIImage imageNamed:@"profileSegmentedControlBackground"]; UIImage *segmentedControlBackgroundSelectedImage = [UIImage imageNamed:@"profileSegmentedControlBackgroundSelected"]; [self.segmentedControl setBackgroundImage