Tuesday 15 April 2014

ios - Hiding the status bar on a single ViewController in Storyboard -


Is the status bar hidden in just one view in the storyboard?

For example:

I should hide in "ViewController A", but when "ViewController B" from segue (e.g., a navigation Administrator ) will show the status bar.

I gather you can disable it in the whole app, but how do you do it for just one ViewController


The suggestion works, however, while switching to navigation controller it seems that the nav bar can be dragged to the wrong location.

navigation bar bug

How about

  - (zero) viewViewAppear: (BOOL) animated {[Super ViewWhipper: Animated]; [[UIApplication shared application] Set Status Barhard: Yes]; } - (Zero) ViewView Shape: Animated (BOOL) Animated ([UIApplication sharedApplication] setStatusBarHidden: No]; [Super View Special: Animated];}    

No comments:

Post a Comment