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 {
99
99
1 . In XCode, in the project navigator, right click ` Libraries ` ➜ ` Add Files to [your project's name] `
100
100
2 . Go to ` node_modules ` ➜ ` react-native-splash-screen ` and add ` SplashScreen.xcodeproj `
101
101
3 . 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:
103
103
104
104
` $(SRCROOT)/../node_modules/react-native-splash-screen/ios `
105
105
@@ -139,15 +139,15 @@ Update `AppDelegate.m` with the following additions:
139
139
140
140
#import < React/RCTBundleURLProvider.h>
141
141
#import < React/RCTRootView.h>
142
- #import " SplashScreen .h" // here
142
+ #import " RNSplashScreen .h" // here
143
143
144
144
@implementation AppDelegate
145
145
146
146
- (BOOL)application:(UIApplication * )application didFinishLaunchingWithOptions:(NSDictionary * )launchOptions
147
147
{
148
148
// ...other code
149
149
150
- [SplashScreen show]; // here
150
+ [RNSplashScreen show]; // here
151
151
return YES;
152
152
}
153
153
You can’t perform that action at this time.
0 commit comments