I want my UISegmentedController to keep the same background color when selected, but just change the color of the image when selected. Here's a picture of what I'm trying to achieve:
When the controller loads, segment 0 is selected and it's red. Upon clicking on segment 1, segment 0 turns white and segment 1 is red. Nothing else in the controller changes. I've read a bunch of posts on this but the best I can get is this UISegmentedControl selected state icon image, however it doesn't seem to work for me.
What am I missing here?
Thanks!