ZFRippleButton
ZFRippleButton copied to clipboard
Image disappeared on click
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)