简体   繁体   English

在iPhone启动图像中没有横向选项

[英]No option for Landscape in iPhone Launch Images

Is landscape splash screen supported in iPhone? iPhone支持横向闪屏吗? I don't see the option like I do with iPad, as such: 我没有看到像我这样使用iPad的选项,因此:

在此输入图像描述

That's Visual Studio? 那是Visual Studio吗?

Because I am able to see the iPhone Landscape option in Xamarin Studio. 因为我能够在Xamarin Studio中看到iPhone横向选项。

Try switching on and off the "Assets Catalog" dropdown to see if that helps. 尝试打开和关闭“资产目录”下拉菜单,看看是否有帮助。

Also if that doesn't work you could change at anytime from Launch image to Launch screen and there you can configure your Storyboard for all different sizes and orientations. 此外,如果这不起作用,您可以随时从“启动”图像更改为“启动”屏幕,然后您可以为所有不同的大小和方向配置故事板。

在此输入图像描述

Note: will check later in VS. 注意:稍后会在VS中查看。

You could add them to your assets. 您可以将它们添加到资产中。 I don't think image assets are rendered properly in VS. 我不认为图像资产在VS中正确呈现。 It doesn't show specialized image for iPhone, iPad, watch etc. Only the generic one. 它没有显示iPhone,iPad,手表等专用图像。只有通用的图像。

Another thing you might want to consider is using launch story board and not launch images. 您可能想要考虑的另一件事是使用启动故事板而不是启动图像。 That's the new way of doing it or the suggested way by Apple. 这是Apple的新方式或建议方式。 You have far more control on it. 你对它有更多的控制权。

Customizing launch images - Manual approach 自定义启动图像 - 手动方法

Open LaunchImage.launchimage and change the default launch images with your own using the proper resolution for each image (eg, Default-568h@2x.png should be 640px x 1136px). 使用适合每个图像的分辨率打开LaunchImage.launchimage并使用您自己的更改默认启动图像(例如,Default-568h @ 2x.png应为640px x 1136px)。 If your images have different file names then open Contents.json and change the key filename for each image. 如果您的图像具有不同的文件名,则打开Contents.json并更改每个图像的密钥文件名。

在此输入图像描述

Xcode WYSIWYG approach Xcode WYSIWYG方法

Drag and drop your Assets.xcassets into Xcode (7.1 or newer version). 将Assets.xcassets拖放到Xcode(7.1或更新版本)中。 In the opened window choose LaunchImage and add the proper image for each iOS version and device. 在打开的窗口中选择LaunchImage并为每个iOS版本和设备添加正确的图像。 Close Xcode and rebuild your Xamarin app to use the new launch images. 关闭Xcode并重建您的Xamarin应用程序以使用新的启动图像。

Further info : Human guidelines reference 更多信息: 人体指南参考

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Xamarin for iPhone 6s中没有可用的750x1334 Launch Image选项? - No 750x1334 Launch Image option available in Xamarin for iPhone 6s? iPhone 6 显示扭曲的启动屏幕 - iPhone 6 shows a distorted launch screen Xamarin.Forms iOS从纵向翻转为横向无法正常运行(仅适用于iPhone) - Xamarin.Forms iOS flipping from portrait to landscape not working (iPhone only) iOS Xamarin表单在哪里显示启动屏幕图像? - From where Launch Screen Images Shows on iOS Xamarin Forms? 使用Visual Studio 2015的Xamarin iOS工作应用无法在iPhone 4和5上启动 - Working Xamarin iOS App Fails to Launch on iPhone 4 and 5 using Visual Studio 2015 xamarin 表单 iphone 应用程序以默认蓝屏启动,然后跳转到后台。 没有编译器或启动错误 - xamarin forms iphone app launches with default blue screen and then jumps to background. No compiler or launch errors 如何修复iPhone 8蜂窝数据中启动的xamarin.ios应用程序崩溃? - How do I fix xamarin.ios app crash on launch in iPhone 8 cellular data? 如何在Xamarin iOS中将启动屏幕设置为Assets.xcassets目录中的图像? - How to set launch screen in Xamarin iOS to images in Assets.xcassets directory? Xamarin.iOS应用程序立即在iPhone上退出。 调试器不会附加。 模拟器无法启动 - Xamarin.iOS App quits instantly on iPhone. Debugger won't attach. Simulator won't launch 资产目录中的图像未在物理iPhone 5上加载,但确实显示在6S和模拟器上 - Images from Asset catalogs not loading on physical iPhone 5 but do show up on 6S and simulator
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM