diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-05 14:52:44 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-05 14:52:44 -0500 |
commit | 541717d4673d8d95e3cc53da24862b9aaabde24b (patch) | |
tree | 3f495ad2f155de5dedfd79270f20e87676798a41 /ios/app/AppDelegate.mm | |
parent | 2377431901b3275a34e9296bb9852db117833289 (diff) | |
download | voidsky-541717d4673d8d95e3cc53da24862b9aaabde24b.tar.zst |
Add splash screen to ios
Diffstat (limited to 'ios/app/AppDelegate.mm')
-rw-r--r-- | ios/app/AppDelegate.mm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ios/app/AppDelegate.mm b/ios/app/AppDelegate.mm index 96e1cca1a..ae764ed43 100644 --- a/ios/app/AppDelegate.mm +++ b/ios/app/AppDelegate.mm @@ -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; } |