MengTo / Spring

A library to simplify iOS animations in Swift.
http://designcode.io
MIT License
14.08k stars 1.8k forks source link

Cant add Shadow to SpringButton Text/Label #200

Open otymartin opened 8 years ago

otymartin commented 8 years ago

@MengTo I've tried to add a shadow and shadow offset to my aSpringButton Label but none of it works. The same methods work for a regular UIButton

self.springButton.titleLabel.shadowColor = UIColor.blackColor()
self.springButton.titleLabel.shadowOffset = CGSize(width: 1, height: 1)
AdrianBinDC commented 7 years ago

Do you set the opacity of the shadow anywhere?