Skip to content

Commit

Permalink
Merge pull request #296 from xchunzhao/master
Browse files Browse the repository at this point in the history
Update RNSplashScreen.h in README-zh.md
  • Loading branch information
crazycodeboy authored Sep 17, 2018
2 parents 17b0c09 + 2aaf0d3 commit 1d1f065
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 1d1f065

Please sign in to comment.