Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove TabBar Button glow(not on image- hiding the selection tint of button)

I've created a tabbar application,I am using a custom TabBar with a backGround image. I have finished all the parts but unable to remove the glow of tabbar button on click(i just changing the UIButton selection on click,but glow is still there)

How to hide the glow of UITabBar Buttons(ie hiding the selection tint of buttons) ?

Now TabBar is like this..

Need tabBar like this

like image 203
Nithin M Keloth Avatar asked Dec 09 '22 19:12

Nithin M Keloth


1 Answers

You can use the following code.

[[UITabBar appearance] setSelectionIndicatorImage:[[UIImage alloc] init]];

Try It.

like image 120
manujmv Avatar answered Dec 11 '22 07:12

manujmv