尽管将 UIViewControllerBasedStatusBarAppearance 设置为 NO,但 iPad mini 上的状态栏仍然可见 [英] Status bar visible on iPad mini despite setting UIViewControllerBasedStatusBarAppearance to NO

查看:11
本文介绍了尽管将 UIViewControllerBasedStatusBarAppearance 设置为 NO,但 iPad mini 上的状态栏仍然可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 UIViewControllerBasedStatusBarAppearance 设置为 NO 的 iPhone 应用程序.在我测试过的任何设备(iPhone 4、5、5s、5c、iPad 4ish)上都没有显示状态栏.iPad mini(第一代)除外.使用 iOS SDK 是 7.1.

I have an iPhone app with UIViewControllerBasedStatusBarAppearance set to NO. Not on any device I have tested with (iPhone 4, 5, 5s, 5c, iPad 4ish) is the status bar visible. Except on the iPad mini (1st gen). Using iOS SDK is 7.1.

状态栏在第一代 iPad mini 上可见.我希望在此设置中也隐藏状态栏.

The status bar is visible on iPad mini 1st gen. I expect the status bar to be hidden on this setup as well.

我什至尝试将 [[UIApplication sharedApplication] setStatusBarHidden:NO]; 添加到 didFinishLaunchingWithOptions 但它没有改变任何东西.

I even tried adding [[UIApplication sharedApplication] setStatusBarHidden:NO]; to didFinishLaunchingWithOptions but it's not changing anything.

状态栏样式也设置为在应用程序启动期间隐藏".

Status Bar Style is also set to "Hide during application launch".

iPad mini 运行 iOS 7.1.

The iPad mini runs iOS 7.1.

是的,这是一个边缘情况,但这次我无法得到预期的结果.

Yes, it's an edge case but I just can't get it to come up with expected results this time.

还有一点信息:我使用的是 cocos2d-iphone v2.1.以前从未遇到过这个问题,因为我发布了一堆具有相同引擎的应用程序.我开始认为这是与组合相关的错误:iOS 7.1 和 iPad mini.

One more bit of info: I'm using cocos2d-iphone v2.1. Never ran into this problem before as I have released a bunch of apps with the same engine. I'm beginning to think this is a bug relating to the combination: iOS 7.1 and iPad mini.

这是设置:

推荐答案

这是 iPad Mini iOS 7.1 版中的一个错误.

This is a bug in the iPad Mini iOS version 7.1.

以典型的方式,他们解决了一个问题(空白状态栏)并创建了另一个问题.

In typical fashion, they fixed one problem (a blank status bar) and created another one.

请务必向 Apple 报告错误.

Be sure to report the error to Apple.

这篇关于尽管将 UIViewControllerBasedStatusBarAppearance 设置为 NO,但 iPad mini 上的状态栏仍然可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆