So, I have a split view application that I am working on and have encountered a strange user interface error. Here is my best attempt to explain this. If I download the application in landscape mode, the top navigation bar of the root controller will be the correct color. I do this in the rootView method of ViewWillAppear:
self.rvBar.tintColor = [UIColor colorWithRed:59.0/255 green:115.0/255 blue:185.0/255 alpha:1];
Now, when I rotate the device and display the view through a popover, the popover is black. Do you know how to change the color of a popover to the same blue? I tried to do this in the willHide/ShowViewController methods in the delegate of a split view controller, but nothing works.
Now, the second part, when I turn back to the landscape, the line above is called again, but instead of displaying a blue bar, it is now gray! Has anyone seen splitview behave the way it used to, and if so, what needs to be done to fix this? Thanks in advance.
source share