问题描述
我遵循了一些关于如何在 ios 上显示我的启动屏幕的教程.但它仍然没有显示.我错过了什么?我看到的只是默认的蓝屏.
你所做的足以改变 Xamarin.iOS 应用的 LaunchScreen
.步骤是:
1.创建一个新的LaunchScreen1.Storyboard
并在那里添加您的自定义视图
.
2.更改 info.plist
中的 Launch Screen option
,就像您在问题的屏幕截图中所做的那样.
我建议您清理并重建您的项目,然后再次运行它.您也可以尝试先在模拟器中卸载该应用,然后再运行您的新项目.
我在这里上传了一个示例项目,您可以查看.
I followed some tutorials on how to display my launch screen on ios. but it is still not showing. what I am missing?. All I see is the default blue screen.
https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/images-icons/launch-screens?tabs=macos
This is what I have
What you did is enough to change the LaunchScreen
of a Xamarin.iOS app. The steps are:
1.Create a new LaunchScreen1.Storyboard
and add your custom view
there.
2.Change the Launch Screen option
in info.plist
as you did in the screenshot in the question.
I would suggest you to clean and rebuild your project, and then run it again. Also you can try to uninstall the app in your simulator first and then run your new project.
I uploaded a sample project here and you can check it.
这篇关于LaunchScreen IOS Xamarin 表单未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!