简体   繁体   English

Xamarin 黑色启动画面

[英]Xamarin Black Splash Screen

I tried to make a new storyboard Splash Screen on my Mac, but when I exported it from Xcode to my app project on Windows Visual Studio, the app didn't work.我试图在我的 Mac 上制作一个新的 storyboard 启动画面,但是当我将它从 Xcode 导出到我在 Windows Visual Studio 上的应用程序项目时,该应用程序无法运行。 I had a black screen when starting the debug session on my simulator.在我的模拟器上启动调试 session 时出现黑屏。 I backed up the previous storyboard code in order it won't work but it didn't work with the original one either..我备份了之前的 storyboard 代码,以免它不起作用,但它也不适用于原始代码。

I found a solution that told me to edit the info.plist and remove those lines:我找到了一个解决方案,告诉我编辑 info.plist 并删除这些行:

<key>UIApplicationSceneManifest</key>
 <dict>
     <key>UIApplicationSupportsMultipleScenes</key>
     <true/>
 </dict>

And it worked for me:)它对我有用:)

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM