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?

white buttons on uialertview

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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -