Hide Status Bar from iPhone application

前端 未结 7 648
太阳男子
太阳男子 2020-12-18 14:07

I want my app to not have the status bar at all! I have tried using the .plst

I have tried everything in here Status bar won't disappear and also in here How to

相关标签:
7条回答
  • 2020-12-18 14:35

    To hide the status bar after the app has completely launched, change it programmatically by adding this line to your app delegate's applicationDidFinishLaunching method:

    [[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];
    

    If you set animated to YES then the status bar will disappear by fading out. One question, why do you want to delete the status bar?

    0 讨论(0)
提交回复
热议问题