[英]Manage orientation landscape and portrait both in a app iPhone
根据我客户的要求,我想将Splash Screen的方向设置为横向(右侧),然后该方向将以纵向显示。.任何想法如何实现?
Just rotate your splash image in an external editor so that is gets displayed in a landscape mode. 只需在外部编辑器中旋转初始图像,即可在横向模式下显示它。
Just because you perceive it as landscape doesn't mean it's actually not "rotated portrait". 仅仅因为您将其视为风景,并不意味着它实际上不是“旋转肖像”。
See your Splash Image will look like this: 看到您的启动图像将如下所示:
Just rotate your image the way you want it to look like... 只需按照您想要的样子旋转图像即可...
The iPhone only has a single splash screen, no matter which orientation it launches in. The iPad on the other hand will display a different splash screen image in portrait and in landscape mode. iPhone仅有一个初始屏幕,无论它以哪个方向启动。另一方面,iPad将在纵向和横向模式下显示不同的初始屏幕图像。
If your iPhone interface supports both portrait and landscape then you must decide which way round you'd like to display that splash screen image. 如果您的iPhone界面同时支持纵向和横向模式,则必须决定要以哪种方式显示初始屏幕图像。 As Kanan says, design your landscape image (say in Photoshop), then rotate the canvas so that the image is portrait (but the content is still landscape).
正如Kanan所说,设计您的风景图像(例如在Photoshop中),然后旋转画布,使图像为人像(但内容仍为风景)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.