Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS UITabBar selectionIndicatorImage Y position

Tags:

ios

swift

I have this spec:

enter image description here

But, i have this:

enter image description here

I have this code:

self.mTabBar.selectionIndicatorImage = UIImage(named: "footer-blue-line")

How can I set the Y position for the selectionIndicatorImage?

like image 990
Kevin ABRIOUX Avatar asked Nov 27 '25 23:11

Kevin ABRIOUX


1 Answers

Why aren't you using a single "selected" image that has a blue line below it ?

like image 93
user3752049 Avatar answered Nov 30 '25 12:11

user3752049



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!