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);
The setTitleShadowOffset for UIButton is deprecated. Use the shadowOffset of titleLabel property of UIButton
setTitleShadowOffset
UIButton
shadowOffset
buttonName.titleLabel.shadowOffset = CGSizeMake(0, -1);