youknowone / UI7Kit

Backport flat-style UIKit from iOS7 to iOS5+
Other
1.67k stars 199 forks source link

momentary UISegmentedControl not working #122

Open bpoplauschi opened 11 years ago

bpoplauschi commented 11 years ago

If using a UISegmentedControl with momentary=YES, the behavior is the same as with momentary=NO (after selecting a segment, it remains selected instead of reseting).

From apple doc: // if set, then we don't keep showing selected state after tracking ends. default is NO

Detailed description of how momentary works (http://www.apeth.com/iOSBook/ch25.html): Alternatively (momentary is YES), the tapped segment is shown as highlighted momentarily (by default, highlighted is indistinguishable from selected, but you can change that); afterward, however, no segment selection is displayed, though internally the tapped segment remains the selected segment.