The class of the selected segment is displayed as a UISegment, to which I cannot find a reference to the class. Surely there is a way to access the header associated with the selected index?
From the UISegmentedControldocumentation:
UISegmentedControl
NSString * selectedTitle = [mySegmentedControl titleForSegmentAtIndex:[mySegmentedControl selectedSegmentIndex]];
Source: https://habr.com/ru/post/1744688/More articles:An array with several types? - arraysHow to overlay direct3d in directshow - c ++Is there a way to parse XML through SAX / DOM with line numbers available behind node - javaAndroid 2.1 running gesture captured in text mode, but still the context menu opens - androidFlex Builder 4, ZendAMF, and Data Services - Error? - eclipseSaving related model objects - djangorails 2.3.4 "Template missing" when using haml - ruby-on-railsRails is selected by the helper. How to choose a default value? - ruby-on-railsForEach with EditorFor - c #Difference between C ++ keyboard code and JAVA KeyEvent keyboard key - javaAll Articles