React Nativ iOS APP 正在加载黑屏而不是我设计的主要 React Native Splash [英] React Nativ iOS APP is loading black screen instead of main React Native Splash which I designed

查看:43
本文介绍了React Nativ iOS APP 正在加载黑屏而不是我设计的主要 React Native Splash的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行 react-native APP 并尝试运行 ios 部分.启动成功,但黑屏.我也看不到 Launcher 上的任何选项.请看下图.

I am running react-native APP and try to run ios Part. It's Launch successful but with black screen. Also I can not see any option on Launcher. Please see below image.

查看模拟器

再说一次,它是 React Native,我想在 ios 模拟器上运行

Again, It's React Native and me want to run on ios simulator

推荐答案

只是告诉你,我自己解决了这个问题.我在 info.plist 上做错了什么.那是出现问题的代码.

Just to let you know, I solved the problem by myself. I was doing something wrong on info.plist. That was code which was getting issue.

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

我刚刚删除了它并解决了问题

I just removed that and problem resolved

这篇关于React Nativ iOS APP 正在加载黑屏而不是我设计的主要 React Native Splash的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆