jeudi 26 février 2015

UIBarButtonItem tint color not same color on device

I have at least one UIBarButtonItem's in every UIViewController in my project, everything is in a UINavigationController and the UINavigationBar is blue and the UIBarButtonItem's should be white.


In the simulator they are white... but in device they are lightgray as you can see in the pictures below:


Simulator Simulator


Device Device


They run the exact same code and the exact same ios version ios 8.1.


I am currently setting the tint color in storyboard to white, but Ive also tried:



UIBarButtonItem.appearance().tintColor = UIColor.whiteColor()


Which gave the same result.


Please help me understand whats going on.




Aucun commentaire:

Enregistrer un commentaire