Uibutton titlelabel shadowoffset property is not behaving properly in ios 7
问题 I am using the below code to get a shadow to button title label. theCuLabel.titleLabel.shadowColor=[UIColor blackColor]; theCuLabel.titleLabel.shadowOffset=CGSizeMake(-3.0,2.5); In IOS 6 its working properly like below But in IOS 7 its not working as expected like below I didn't find solution for this, can any one tell me the solution or any update in IOS 7 that happened for this. Thanks in Advance... 回答1: [button setTitleShadowColor:[UIColor blackColor] forState:UIControlStateNormal]; this