I want to disable the animation of button is touch down or selection. I want to mimic the feature that selection is happening on label. I am comfortable with the properties of button compare to uilabel because i can give my background image and it also help me in more issues.
Please help me in this?
I think what you need is to unselect the "Highlighted adjusts image" option in Interface Builder:
2018 people, Swift 4.0:
Setting the button's adjustsImageWhenHighlighted
property worked. Need this in my custom UITabBarController
(e.g. large center tabBarItem).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With