Search code examples
iphoneobjective-chidestatusbarinfo.plist

How to show status bar initially hidden from plist iphone


i want to hide the status bar when i launch my app to view launch image that was covered by status bar. so in plist i added

Status bar is initially hidden YES

and status bar is covered. My problem is that status bar is covered always in my app, i want to hide status bar only for launch image, what can i do?


Solution

  • SOLVED

    [[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:NO];
    

    using this at launch of app :)