The class of the selected segment is shown as UISegment, which I can't find a class reference to. Surely there is a way to access the title associated with the selected index?
views:
141answers:
1
+4
A:
From UISegmentedControl
documentation:
NSString * selectedTitle = [mySegmentedControl titleForSegmentAtIndex:[mySegmentedControl selectedSegmentIndex]];
Dave DeLong
2010-05-09 17:54:01
Fast and just what I needed -- thanks!
Frank
2010-05-09 18:07:52