In one UIViewController, I have a UISegmentedControl.
When I select segmented control.selectedindex==0, it will show a textfield.
When I select segmentedcontrol.selectedindex==1, it will show another segmented control instead of textfield.
How can I do that?
Wouldn’t you just have 2 segmented controls, but one of them hidden.
When selectedindex==1 on the first one, then unhide the second one.