I'm trying to create a rather custom segmentControl. What is the easiest way to create such below. with just text and a border line the selected?
Choice -1
ya just created 4 buttons and create the one common method , inside the method assign the tag for each button for identify which button is selected , on that selected button change the TextColor
and use use Underline,else button are another color
Choice -2
ya just created 4 buttons and create the one common method , inside the method assign the tag for each button for identify which button is selected , on that selected button change the Image
in UIControlStateNormal
else no selection Button use normal Text or another Image