Skip to content

Commit 1d1f065

Browse files
authored
Merge pull request #296 from xchunzhao/master
Update RNSplashScreen.h in README-zh.md
2 parents 17b0c09 + 2aaf0d3 commit 1d1f065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ public class MainActivity extends ReactActivity {
138138

139139
#import <React/RCTBundleURLProvider.h>
140140
#import <React/RCTRootView.h>
141-
#import "SplashScreen.h" // 添加这一句
141+
#import "RNSplashScreen.h" // 添加这一句
142142

143143
@implementation AppDelegate
144144

145145
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
146146
{
147147
// ...other code
148148

149-
[SplashScreen show]; // 添加这一句,这一句一定要在最后
149+
[RNSplashScreen show]; // 添加这一句,这一句一定要在最后
150150
return YES;
151151
}
152152

0 commit comments

Comments
 (0)