Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当应用程序在 iOS 中显示默认图像时如何隐藏状态栏?换句话说,当我的应用程序加载默认图像时,我不想显示默认图像并且加载完成后,我想再次显示图像/
尝试这个
- (BOOL) application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions { [application setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone]; }