简体   繁体   English

空白的UIExplorer示例应用程序

[英]Blank UIExplorer Example App

I'm trying to run the example react-native apps in iOS simulator, but when I followed the instructions, I end up with a blank page. 我试图在iOS模拟器中运行示例react-native应用程序,但是当我按照说明进行操作时,最终得到一个空白页。 No errors, just a blank white screen. 没有错误,只是一个空白的白色屏幕。 I'm confused that there is no index.ios.js and am assuming this is where the problem resides. 我很困惑,没有index.ios.js,并假设这是问题所在。 There are dozens of specific js files broken out to their respective roles, but what file tells the app which js file to pull from when? 有数十个特定的js文件分解成各自的角色,但是哪个文件告诉应用程序何时从中提取哪个js文件? I would expect it to be the index file, but maybe I'm supposed to set another file as index? 我希望它是索引文件,但也许我应该将另一个文件设置为索引?

当您在xcode下打开目标项目的AppDelegate.m文件时,jsCodeLocation的值应为您提供有关如何启动应用程序的想法/提示。

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

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