I've connected a UISegmentedControl outlet. In my viewDidLoad() I check some stuff out to determine if I need to jump to the third index of the UISegmentedControl but I had no luck.
I made this:
self.mainSelector.isEnabledForSegmentAtIndex(2)
Of course it did't work. What should I do to jump automatically to the third segment?