iOS Xamarin表单在哪里显示启动屏幕图像?

时间:2019-01-28 08:17:15

标签: xamarin xamarin.forms xamarin.ios

在我的项目中,我有LaunchScreen.storyboard文件,在其中创建启动屏幕,还将启动屏幕图像保留在AssetCatelog> LaunchImages

那么我的启动屏幕从哪里显示? 并且也无法在LaunchScreen.storyboard内设置我的应用徽标中心的位置 更改设备时,徽标会自动更改为其他设备

这是两个样本 enter image description here enter image description here

1 个答案:

答案 0 :(得分:1)

我认为启动情节提要中徽标图像的约束丢失了。

您将必须在垂直和水平方向添加中心约束,如下所示。

您可能还需要添加宽度和高度限制。

enter image description here

您可以在自动布局上查看本教程

enter link description here

相关问题