File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ For React Native >= 0.47.0 use [v3.+](https://github.com/crazycodeboy/react-nati
25
25
## Examples
26
26
* [ Examples] ( https://github.com/crazycodeboy/react-native-splash-screen/tree/master/examples )
27
27
28
- ![ react-native-splash-screen-Android] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/master /examples/Screenshots/react-native-splash-screen-Android.gif )
29
- ![ react-native-splash-screen-iOS] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/master /examples/Screenshots/react-native-splash-screen-iOS.gif )
28
+ ![ react-native-splash-screen-Android] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/v3.0.0 /examples/Screenshots/react-native-splash-screen-Android.gif )
29
+ ![ react-native-splash-screen-iOS] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/v3.0.0 /examples/Screenshots/react-native-splash-screen-iOS.gif )
30
30
31
31
32
32
@@ -134,9 +134,10 @@ Update `AppDelegate.m` with the following additions:
134
134
135
135
136
136
``` obj-c
137
-
138
137
#import " AppDelegate.h"
139
- #import " RCTRootView.h"
138
+
139
+ #import < React/RCTBundleURLProvider.h>
140
+ #import < React/RCTRootView.h>
140
141
#import " SplashScreen.h" // here
141
142
142
143
@implementation AppDelegate
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ React Native启动屏,解决iOS,Android启动白屏问题,支持Android和
23
23
## 演示
24
24
* [ Examples] ( https://github.com/crazycodeboy/react-native-splash-screen/tree/master/examples )
25
25
26
- ![ react-native-splash-screen-Android] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/master /examples/Screenshots/react-native-splash-screen-Android.gif )
27
- ![ react-native-splash-screen-iOS] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/master /examples/Screenshots/react-native-splash-screen-iOS.gif )
26
+ ![ react-native-splash-screen-Android] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/v3.0.0 /examples/Screenshots/react-native-splash-screen-Android.gif )
27
+ ![ react-native-splash-screen-iOS] ( https://raw.githubusercontent.com/crazycodeboy/react-native-splash-screen/v3.0.0 /examples/Screenshots/react-native-splash-screen-iOS.gif )
28
28
29
29
30
30
## 改变
@@ -134,10 +134,11 @@ public class MainActivity extends ReactActivity {
134
134
135
135
136
136
``` obj-c
137
-
138
137
#import " AppDelegate.h"
139
- #import " RCTRootView.h"
140
- #import " SplashScreen.h" // here
138
+
139
+ #import < React/RCTBundleURLProvider.h>
140
+ #import < React/RCTRootView.h>
141
+ #import " SplashScreen.h" // 添加这一句
141
142
142
143
@implementation AppDelegate
143
144
You can’t perform that action at this time.
0 commit comments