Search code examples
iosuicontrol

What is this iOS Contol and How To Implement it?


enter image description here

I'm confused about:

1) What type of control is the one shown in the picture above. I tried slider, it's not giving that same visual effect

2) How can I implement such a control exactly as seen on the image.


Solution

  • You can have two images one for selected and other for unselected and when any of the button is pressed change the image of button to selected image in button action and other two button will have unselected image.At a time only one button will be in selected state.