How can I set the icon image for selected state of the UISegmentedControl. Is the UISegmentedControl really missing this functionality or
selected
UISegmentedControl
[segmentedControl addTarget:self action:@selector(segmentAction:) forControlEvents:UIControlEventValueChanged]; -(void)segmentAction:(UISegmentedControl*)sender { [sender setImage:[UIImage imageNamed:@"image.png"] forSegmentAtIndex:sender.selectedSegmentIndex]; }