Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在iOS Xamarin窗体上从何处显示启动屏幕图像?_Xamarin_Xamarin.forms_Xamarin.ios - Fatal编程技术网

在iOS Xamarin窗体上从何处显示启动屏幕图像?

在iOS Xamarin窗体上从何处显示启动屏幕图像?,xamarin,xamarin.forms,xamarin.ios,Xamarin,Xamarin.forms,Xamarin.ios,在我的项目中,我有LaunchScreen.storyboard文件,我在其中创建了一个启动屏幕,并将启动屏幕图像保存在AssetCatlog>LaunchImages中 那么,我的启动屏幕显示在哪里? 也无法在LaunchScreen.storyboard内设置我的应用程序徽标中心的位置 更改设备时,徽标会自动更改为其他设备 这里有两个样品 我想发布故事板中的徽标图像约束缺失了 您必须添加垂直和水平中心约束,如下面的gif所示 您可能还需要添加宽度和高度约束 您可以在autolayout上查

在我的项目中,我有LaunchScreen.storyboard文件,我在其中创建了一个启动屏幕,并将启动屏幕图像保存在AssetCatlog>LaunchImages中

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

这里有两个样品

我想发布故事板中的徽标图像约束缺失了

您必须添加垂直和水平中心约束,如下面的gif所示

您可能还需要添加宽度和高度约束

您可以在autolayout上查看本教程


希望能有所帮助。请参考此链接,