UITextAttributeTextShadowOffset ist Veraltet
Ich versuche zu addapt meinen code in 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)]
Ich bin immer ein paar Fehler, UITextAttributeColor is deprecated
, UITextAttributeTextShadowColor is deprecated
, und UITextAttributeTextShadowOffset is deprecated
.
Klicken Sie hier :stackoverflow.com/questions/18968305/...
InformationsquelleAutor Benjamin Porter | 2013-09-27
Du musst angemeldet sein, um einen Kommentar abzugeben.
InformationsquelleAutor Leo Natan
Eigentlich ist es eine ziemlich gute code-Beispiel, aber damit einverstanden, es fehlen Erklärungen
InformationsquelleAutor Ritu
InformationsquelleAutor Kirit Vaghela