Skip to content

Commit a886893

Browse files
committed
add README.zh.md
1 parent bde55b7 commit a886893

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# react-native-splash-screen
22

3-
![China.png]()[简体中文](/README.zh.md)
3+
![China.png](https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/master/examples/Screenshots/China.png)**[简体中文](https://github.com/crazycodeboy/react-native-splash-screen/blob/master/README.zh.md)**
44

55
A splash screen for react-native, hide when application loaded ,it works on iOS and Android.
66

@@ -75,7 +75,7 @@ public class MainApplication extends Application implements ReactApplication {
7575
1. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
7676
2. Go to `node_modules``react-native-launch-image` and add `SplashScreen.xcodeproj`
7777
3. In XCode, in the project navigator, select your project. Add `libSplashScreen.a` to your project's `Build Phases``Link Binary With Libraries`
78-
4. Run your project (`Cmd+R`).
78+
7979

8080

8181
### Third step(Plugin Configuration):

README.zh.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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启动屏,解决iOSAndroid启动白屏问题,支持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

8383
1. 在 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

8686
3. 在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
![react-native-splash-screen-Android](https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/master/examples/Screenshots/react-native-splash-screen-Android.gif)
135135
![react-native-splash-screen-iOS](https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/master/examples/Screenshots/react-native-splash-screen-iOS.gif)
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

Comments
 (0)