[英]No option for Landscape in iPhone Launch Images
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.