I\'m trying to add a 1px black drop shadow to a button label with no luck. I\'ve tried this:self.setTitleShadowOffset = CGSizeMake(0, -1); but I get:
self.setTitleShadowOffset = CGSizeMake(0, -1);
for Swift 3:
button.setTitleShadowColor(UIColor.red, for: .normal) button.titleLabel?.shadowOffset = CGSize(width: 2, height: 2)