ios - UIAlertView and UIButton has white buttons on white background -
after upgrading dev iphone 5 ios 8.1, of buttons , default labels on uinavigationbars , uialertviews started appear on screen white text.
i tried resolve problem with:
// uiview tints [[uiview appearance] settintcolor:[uicolor blackcolor]]; [[uialertview appearance] settintcolor:[uicolor blackcolor]]; [[uinavigationbar appearance] setbartintcolor:[uicolor blackcolor]]; [[uibarbuttonitem appearance] settintcolor:[uicolor whitecolor]];
this somehow solved white buttons in cases, not of them. i'm still having problems alert views appearing after receiving notification in-app, navigation bar buttons , labels.
has experienced problem? , if possible has solution?
one cannot customize appearance of uialretview:
[[uialertview appearance] settintcolor:[uicolor blackcolor]];
check apple notes in class reference:
subclassing notes
the uialertview class intended used as-is , not support subclassing. view hierarchy class private , must not modified.
possible duplicate question: change tint color of uialertview , uiactionsheet buttons
Comments
Post a Comment