隐藏了iPhone6 / 6plus横向状态栏 [英] IPhone6/6plus landscape status bar hidden

查看:190
本文介绍了隐藏了iPhone6 / 6plus横向状态栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是此主题的扩展关于显示iOS8的状态栏。不幸的是,我需要启用我的应用程序以横向显示状态栏,无论是固定还是旋转。

This is an extension of this thread regarding displaying status bar for iOS8. Unfortunately, I needed to enable my apps to display the status bar on landscape orientation regardless of fixed or rotated.

我的回答thread ,iPhone6模拟器上的行为(暂时不确定在实际设备上)状态栏无法显示。然而,当应用程序从其他应用程序或主屏幕恢复时,它会显示出来。这是正常的吗?

With my answer on this thread, the behaviour on the iPhone6 Simulator (not sure on actual device for now) the status bar doesn't get displayed. Yet when the application is resumed from other application or home screen it gets displayed. Is this normal?

推荐答案

不,这不正常,但是如果您运行的是测试版,那么您不应该非常担心XCode 6.如果您正在运行最终版本,我建议在确保更新XCode之后创建一个新项目,并测试模拟器是否给出相同的结果。尝试其他设备的模拟器。如果这些都不起作用,那就是与代码相关的东西。请记住,模拟器不一定相同地模拟实际设备,我最近在最终设备上的应用程序中有一个方向错误。

No that is not normal, however you should not be greatly concerned if you are running a beta version of XCode 6. If you are running the final version however, I would recommend creating a new project after ensuring that XCode is updated and test if the simulator is giving the same results. Try simulators for other devices as well. If none of that works, it is something related to the code. Keep in mind that the simulator does not necessarily emulate an actual device identically, I had an orientation bug in one of my apps that did not occur on the final device recently.

这篇关于隐藏了iPhone6 / 6plus横向状态栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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