Segmented User Interface

I am wondering if it is possible to set up a segmented control in iOS, for example, an attached image. I tried changing the image of the buttons, but the segmented control container is still displayed under the custom buttons. I noticed that the name of the segmented buttons disappears if you add a button image. Should custom button images include a title?

Many thanks

enter image description here

+6
source share
2 answers

Just scan yours. Make three UIButton with two images for each state and write logic to allow only one of them.

+11
source

Hopefully one of these custom segmented controls helps you:

0
source

Source: https://habr.com/ru/post/914056/


All Articles