how to get string value from UISegmentedControl?

0 votes
464 views
asked Sep 12, 2014 in Objective C by kalpana (3,995 points)
Hi all

 how to get string value from UISegmentedControl?

1 Answer

+1 vote
answered Sep 12, 2014 by john (4,220 points)

Hi

   NSString* segmentString = [sender titleForSegmentAtIndex:sender.selectedSegmentIndex];

commented Sep 12, 2014 by kalpana (3,995 points)
Thanks for the code..
...