简体   繁体   English

在应用程序iPhone中管理方向风景和人像

[英]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.

相关问题 如何在iOS应用程序中同时管理横向和纵向方向? - How to manage both landscape & portrait orientation in iOS application? 支持iPhone上的纵向方向的通用应用程序和iPad上的横向+纵向 - Supporting Universal App with Portrait Orientation on iPhone and Landscape+Portrait on iPad 处理iPhone方向横向/纵向 - Handle iPhone orientation Landscape/Portrait 纵向 iPhone 应用程序在 iPad 上以横向启动时出现错误边界 - Wrong bounds when portrait iPhone app launched on iPad with landscape orientation 应用程序支持ipad和iphone中的应用程序横向和纵向模式 - App support the app Landscape and portrait mode in both ipad and iphone 在iMessage应用程序中检查横向/纵向方向(扩展名) - Check Landscape/Portrait orientation in an iMessage app (extension) Flutter 应用程序方向从纵向变为横向 - Flutter app orientation changes from portrait to landscape SwiftUI:仅在 iPhone 上显示纵向视图,但在 iPad 上显示纵向和横向 - SwiftUI: Make View portrait only on the iPhone, but both portrait and landscape on the iPad iOS方向在特定屏幕上同时支持横向和纵向-并非所有屏幕 - iOS Orientation Support both Landscape and Portrait on specific screen - NOT ALL Screens 如何为横向和纵向创建图像集? - How to create image set for both landscape and portrait orientation?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM