V
V
Vladislav Resley2020-06-01 18:13:40
iOS
Vladislav Resley, 2020-06-01 18:13:40

How to style TabBar through code?

The bottom line is simple, there is a sketch file, you need to make it so that when you select the left button, such a highlight appears, and with animation it goes to the second one, when you click on it, can this be somehow implemented through code?
In addition, I ask you to write commands so that you yourself. the images were green regardless of whether they are selected or not, just to switch the backlight to another button (If possible of course) All photos are below. Thanks for the task

Tj5DWZ7.png

0u1L4wr.png

The interface did through the storyboard, if it matters. I created a tabBar class and I carry out the settings in it (If I did something wrong, please correct me)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question