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
2525## Examples
2626* [ Examples] ( https://github.com/crazycodeboy/react-native-splash-screen/tree/master/examples )
2727
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 )
3030
3131
3232
@@ -134,9 +134,10 @@ Update `AppDelegate.m` with the following additions:
134134
135135
136136``` obj-c
137-
138137#import " AppDelegate.h"
139- #import " RCTRootView.h"
138+
139+ #import < React/RCTBundleURLProvider.h>
140+ #import < React/RCTRootView.h>
140141#import " SplashScreen.h" // here
141142
142143@implementation AppDelegate
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ React Native启动屏,解决iOS,Android启动白屏问题,支持Android和
2323## 演示
2424* [ Examples] ( https://github.com/crazycodeboy/react-native-splash-screen/tree/master/examples )
2525
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 )
2828
2929
3030## 改变
@@ -134,10 +134,11 @@ public class MainActivity extends ReactActivity {
134134
135135
136136``` obj-c
137-
138137#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" // 添加这一句
141142
142143@implementation AppDelegate
143144
You can’t perform that action at this time.
0 commit comments