11# react-native-splash-screen
22
3- [ English] ( README.md )
3+ ** [ English] ( https://github.com/crazycodeboy/react-native-splash-screen ) **
44
5- React Native启动屏,解决iOS, Android启动白屏问题,支持Android和iOS。
5+ React Native启动屏,解决iOS, Android启动白屏问题,支持Android和iOS。
66
7- ## Content
7+ ## 目录
88
99- [ 安装说明] ( #安装说明 )
1010- [ 演示] ( #演示 )
@@ -27,7 +27,7 @@ React Native启动屏,解决iOS,Android启动白屏问题,支持Android和iO
2727终端运行:
2828
2929
30- ` react-native link react-native-splash-screen ` or ` rnpm link react-native-splash-screen `
30+ ` react-native link react-native-splash-screen ` 或 ` rnpm link react-native-splash-screen `
3131
3232#### 手动安装
3333
@@ -66,7 +66,7 @@ public class MainApplication extends Application implements ReactApplication {
6666 protected List<ReactPackage > getPackages () {
6767 return Arrays . < ReactPackage > asList(
6868 new MainReactPackage (),
69- new SplashScreenReactPackage () // here
69+ new SplashScreenReactPackage () // 添加这一句
7070 );
7171 }
7272 };
@@ -81,7 +81,7 @@ public class MainApplication extends Application implements ReactApplication {
8181** iOS:**
8282
83831 . 在 XCode的项目导航视图中单击 ` Libraries ` ➜ ` Add Files to [your project's name] `
84- 2 . 通过下面路径找到 ` SplashScreen.xcodeproj ` ,` node_modules ` ➜ ` react-native-launch-image ` ➜ ` SplashScreen.xcodeproj `
84+ 2 . 将 ` SplashScreen.xcodeproj ` 添加到你的项目中 ,` node_modules ` ➜ ` react-native-launch-image ` ➜ ` SplashScreen.xcodeproj `
8585
86863 . 在XCode中打开` Build Phases ` ➜ ` Link Binary With Libraries ` 将` libSplashScreen.a ` 添加到你的项目中。
8787
@@ -128,15 +128,15 @@ public class MainActivity extends ReactActivity {
128128
129129```
130130
131- ## Demo
131+ ## 演示
132132* [Examples](https://github.com/crazycodeboy/react-native-splash-screen/tree/master/examples)
133133
134134
135135
136136
137137## 使用说明
138138
139- 讲 `react-native-splash-screen` 导入你的JS 文件。
139+ 将 `react-native-splash-screen` 导入你的JS 文件。
140140
141141
142142`import SplashScreen from 'react-native-splash-screen'`
0 commit comments