UITextAttributeTextShadowOffset est déprécié
Je suis en train de addapt mon code pour iOS 7.
[[UIBarButtonItem appearance] setTitleTextAttributes:@{
UITextAttributeTextColor: [UIColor colorWithRed:214.0f/255.0f green:210.0f/255.0f blue:197.0f/255.0f alpha:1.0f],
UITextAttributeTextShadowColor: [UIColor colorWithWhite:0.0f alpha:0.750f],
UITextAttributeTextShadowOffset: [NSValue valueWithCGSize:CGSizeMake(0.0f, 1.0f)]
Je reçois quelques erreurs, UITextAttributeColor is deprecated
UITextAttributeTextShadowColor is deprecated
et UITextAttributeTextShadowOffset is deprecated
.
source d'informationauteur Benjamin Porter
Vous devez vous connecter pour publier un commentaire.