views:

27

answers:

2

Can i maintain the selected state of UISegmentViewControl segments?? i.e can keep a segment appear selected even if the user selects another segment?? I dont seem to find anything that does this anywhere!!

A: 

This isn't possible out of the box. (See http://stackoverflow.com/questions/1029570/how-can-i-enable-multiple-segments-of-a-uisegmentedcontrol-to-be-selected.)

You could try something like this code to provide similar functionality.

Amorya
A: 

I found a way arround this.I placed dark colored image behind each segment and set their hidden property to true.Then i decresed the alpha value of the uisegmented control.Then in the code when a segment is clicked i turn the visibility on or off accordingly,so multiple segments appear selected

Mithun Madhav