Add splash screen to ios

This commit is contained in:
Paul Frazee 2022-11-05 14:52:44 -05:00
parent 2377431901
commit 541717d467
11 changed files with 66 additions and 24 deletions

View file

@ -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;
}