Skip to content

Commit

Permalink
Fix document-zh
Browse files Browse the repository at this point in the history
  • Loading branch information
xchunzhao committed Sep 6, 2018
1 parent 17b0c09 commit 2aaf0d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ public class MainActivity extends ReactActivity {

#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
#import "SplashScreen.h" // 添加这一句
#import "RNSplashScreen.h" // 添加这一句

@implementation AppDelegate

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

[SplashScreen show]; // 添加这一句,这一句一定要在最后
[RNSplashScreen show]; // 添加这一句,这一句一定要在最后
return YES;
}

Expand Down

0 comments on commit 2aaf0d3

Please sign in to comment.