ios - Hide statusbar during splash screen -


i'm trying hide statusbar during splash screen, works fine when add "status bar hidden" plist , set value yes, remove statusbar enitre application, though i've added "view controller-based status bar appearance" plist , set value no , added following appdelegate:

 uiapplication.sharedapplication().statusbarstyle = uistatusbarstyle.lightcontent  

how can remove statusbar without removing in rest of application?

this updated swift 3 of xcode 8.3.3

in info.plist add following key: info.plist

then in appdelegate file add following in didfinishlaunchingwithoptions section:

func application(_application:uiapplication, didfinishlaunchingwithoptions launchoptions: [uiapplicationlaunchoptionskey: any]?) -> bool {        uiapplication.shared.isstatusbarhidden = false       return true  } 

that should sort out problem.

you can configure launch colour in project build settings if problem you: buildoptions

hope helps!


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -