Select active segment in newSegmentControl

I dont find a way to SET the active segment in the newSegmentControl widget ? Nor do I find any way to unset it so that none is selected/active ?

Seems to be a common issue with the widgets that you cant assign values to them in code ?

//Gzon

defaultSegment (1) sets the default segment to the first segment.

There are lots of things the new segment control does not do, including letting you activate and deactivate segments, set background color, label color. 

The documentation says the “first segment” is the default if you don’t specify it (and you can’t NOT have a segment selected). My experience shows that the right most segment is the default selected segment if you don’t select it.

It looks like you can make your own theme and build your own button designs, hack the IOS theme file for details… have not seen any documentation about that.

defaultSegment (1) sets the default segment to the first segment.

There are lots of things the new segment control does not do, including letting you activate and deactivate segments, set background color, label color. 

The documentation says the “first segment” is the default if you don’t specify it (and you can’t NOT have a segment selected). My experience shows that the right most segment is the default selected segment if you don’t select it.

It looks like you can make your own theme and build your own button designs, hack the IOS theme file for details… have not seen any documentation about that.