I want to initialize my uisegement control to the second option. So when a button is clicked I want to set the uisegement control control to option 2.
+2
A:
- (IBAction)buttonPressed {
mySegmentedControl.selectedSegmentIndex = 1; // 2nd item
}
jtbandes
2010-08-11 16:58:09