Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Disable UIButton getting highleted when clicked

$
0
0

I tried multiple solutions from stack overflow but no luck.I have set HighlightedAdjustsImage = false

In my Code :

button.backgroundColor = .clearbutton.layer.borderWidth = 0

inside my IBAction for button I am changing image

Inside storyboard enter image description here

what did i do wrong here?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>