在横向模式下启动(启动图像)? [英] splash (launch image) in landscape mode?

查看:83
本文介绍了在横向模式下启动(启动图像)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一款仅适用于横向模式的游戏。当我将启动图像(Default.png)导入到我的xcode proj并运行它时,图像以纵向模式显示,然后视图以横向模式启动。如何让我的启动/启动图像仅以横向模式显示?

I am developing a game which works only in landscape mode. When I import a launch image (Default.png) into my xcode proj and run it, the image appears in portrait mode and then the view starts in landscape mode. How can I make my splash/launch image be displayed in landscape mode only?

推荐答案

首先,没有人会从中知道在应用程序之外,应用程序将以纵向或横向运行。

First thing is no one is gonna know from outside the application that application is gonna run in portrait or landscape.

如果您仍想在横向模式下查看启动画面,则必须在此类型中设计图像因为我们无法改变启动画面的行为。

If at all you still want to view the splash screen in landscape mode you have to design the image in such a way as we cannot change the behaviour of the splash screen.

而不是将图像设计为 320X480 ,设计它为 480X320 ,您的问题将得到解决。

Instead of designing the image as 320X480, design it as 480X320 and your problem will get solved.

快乐编码......

hAPPY cODING...

这篇关于在横向模式下启动(启动图像)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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