I have placed an UISegmentedControl into my XIB file. Basically, when the the second tab of the control is tapped (aka segment 1, the first segment is segment 0), I want to unhide a text field. I know how to unhide the text field, but how do I detect which part of the segmented control the user has tapped?
[textField setHidden:NO];