If one is using UIbuttons, Uibuttons background image/colour can be set with property UIControlStateHighlighted.
[UIButton setBackgroundImage: UIImage forState:UIControlStateHighlighted];
I want similar property for UIsegmentedControl. If any of these segmented bar is pressed I want to change colour of that bar only when it is pressed. Colour should get back to default when that bar is released. May be I am missing something obvious but is there any property of UIsegmentedControl ?.
thanks for any help in advance..
Even i was trying to do same thing and this is not possible, i tried all the way, so i created two buttons with image and put together(so feel like segmented button).