File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ public class MainApplication extends Application implements ReactApplication {
99991 . In XCode, in the project navigator, right click ` Libraries ` ➜ ` Add Files to [your project's name] `
1001002 . Go to ` node_modules ` ➜ ` react-native-splash-screen ` and add ` SplashScreen.xcodeproj `
1011013 . In XCode, in the project navigator, select your project. Add ` libSplashScreen.a ` to your project's ` Build Phases ` ➜ ` Link Binary With Libraries `
102- 4 . To fix ` 'SplashScreen .h' file not found ` , you have to select your project → Build Settings → Search Paths → Header Search Paths to add:
102+ 4 . To fix ` 'RNSplashScreen .h' file not found ` , you have to select your project → Build Settings → Search Paths → Header Search Paths to add:
103103
104104 ` $(SRCROOT)/../node_modules/react-native-splash-screen/ios `
105105
@@ -139,15 +139,15 @@ Update `AppDelegate.m` with the following additions:
139139
140140#import < React/RCTBundleURLProvider.h>
141141#import < React/RCTRootView.h>
142- #import " SplashScreen .h" // here
142+ #import " RNSplashScreen .h" // here
143143
144144@implementation AppDelegate
145145
146146- (BOOL)application:(UIApplication * )application didFinishLaunchingWithOptions:(NSDictionary * )launchOptions
147147{
148148 // ...other code
149149
150- [SplashScreen show]; // here
150+ [RNSplashScreen show]; // here
151151 return YES;
152152}
153153
You can’t perform that action at this time.
0 commit comments