pinkstone.co.uk
How to test the state of a UISegmentedControl
We can use the selectedSegmentIndex property for this. Our segmented control thingy starts at 0 for the first value: [crayon-5d8248f4dfc18459313587/] If you want to trigger an action when someone m…