I've been trying to hide the status bar in SWRevealViewController
,but hiding status bar shouldn't effect the other UIViewController
, it should only hide it where Sliding-Menu opens only. to hide the text and the date etc.. !
I've tried the following :
self.setNeedsStatusBarAppearanceUpdate()
override func preferredStatusBarStyle() -> UIStatusBarStyle {
return UIStatusBarStyle.LightContent
}
But the status bar colour just changed to while colour and still unhidden ! I've no idea how is it possible to do ?