ios8 - How do I change the text color of the button returned by displayModeButtonItem in iOS 8? -
in ios8 using splitviewcontroller present data. have custom color navigation bar (light blue) , set color title white. change color of text in displaymodebuttonitem white well, no matter do, stays default blue when displayed on iphone. when displayed on ipad white.
i have tried
self.navigationitem.leftbarbuttonitem = [self.splitviewcontroller displaymodebuttonitem]; self.navigationitem.leftbarbuttonitem.tintcolor = [uicolor whitecolor];
but nothing. seems since button handled automatically ios, nothing can change it. there somewhere can intercept button , set color?
this tricky find. in interface builder, need to:
- find navigation controller master view controller.
- select navigation bar
- change tint
Comments
Post a Comment