So I know to set the default view of a switch you use the following:
Code:
[mySwitch setOn:YES animated:NO];
What is the way to do this with the UISegmentedControl so that I can select a certain button in viewDidLoad?
Thanks in advance!
P.S. -- I tried:
Code:
[mySegment isEnabledForSegmentAtIndex:0];
but that didn't work.