Add splash screen to ios
This commit is contained in:
parent
2377431901
commit
541717d467
11 changed files with 66 additions and 24 deletions
|
@ -9,6 +9,9 @@
|
|||
// universal links
|
||||
#import <React/RCTLinkingManager.h>
|
||||
|
||||
// splash screen
|
||||
#import "RNSplashScreen.h"
|
||||
|
||||
#if RCT_NEW_ARCH_ENABLED
|
||||
#import <React/CoreModulesPlugins.h>
|
||||
#import <React/RCTCxxBridgeDelegate.h>
|
||||
|
@ -57,6 +60,10 @@
|
|||
rootViewController.view = rootView;
|
||||
self.window.rootViewController = rootViewController;
|
||||
[self.window makeKeyAndVisible];
|
||||
|
||||
// Show the splash screen
|
||||
[RNSplashScreen show];
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue