ZFRippleButton icon indicating copy to clipboard operation
ZFRippleButton copied to clipboard

Image disappeared on click

Open SamboVisal opened this issue 5 years ago • 0 comments

I really like this library. Now i am facing issue which when i tapped on button then image that i set has been disappeared but when my finger has released then image appears as usual. Can you solve this problem?

button.rippleColor = UIColor.red button.backgroundColor = UIColor.red button.setTitle("File Server", for: .normal) button.setImage(UIImage(named: "filesharing"), for: .normal) button.titleLabel?.font = UIFont(name: "SFCompactText-Regular", size: 16) button.titleEdgeInsets = UIEdgeInsets(top: 0, left: 10, bottom: 0, right: 0)

SamboVisal avatar Aug 26 '18 17:08 SamboVisal