I have an tabbed bar application and the status bar tint colour is set to default - so it is always my selected blue colour throughout my app.
However, in one view, I am hiding my Navigation Bar like so:
[self.navigationController setNavigationBarHidden:YES];
This is in the viewWillAppear
method and the view is accessible as it is one of the tabs of my app.
The reason I am hiding it, is because I would like to put a toolbar (with about 6 buttons) in its place.
I have set the tint colour of my toolbar, however, the status bar on this view is always black. Is there a way to re-set the status bar for this view, or is there a better way to hide the navigation bar in order to retain the status bar tint colour.
UPDATE I read somewhere that when tinting is set to default, the colour of the status bar will be the colour of the lowest pixel in the header.
I have tried hiding the navigation bar in storyboards and have also tried changing the tint colour to 'Custom' but this also had no effect.
These two screenshots might illustrate my issue. Toggling the navigation bar changes the status bar colour. This is the navigation controller which the view in question is embedded in.