ios - How to hide status bar automatically after load view -


guys, want hide status bar in code. after loaded view, status bar show , automatically hide after while. how that?

you want uiapplication's setstatusbarhidden:withanimation:

[[uiapplication sharedapplication] setstatusbarhidden:yes withanimation:uistatusbaranimationslide]; 

see the docs.


Comments