File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -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
@@ -264,10 +264,10 @@ export default class WelcomePage extends Component {
264
264
## API
265
265
266
266
267
- Method | Type | Optional | Description
268
- ----------------- | -------- | -------- | -----------
269
- show() | function | false | Open splash screen (Native Method )
270
- hide() | function | false | Close splash screen
267
+ | Method | Type | Optional | Description |
268
+ | --------| ---------- | ---------- | ------------------------------------- |
269
+ | show() | function | false | Open splash screen (Native Method ) |
270
+ | hide() | function | false | Close splash screen |
271
271
272
272
## Testing
273
273
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ + (void) jsLoadError:(NSNotification*)notification
49
49
}
50
50
51
51
RCT_EXPORT_METHOD (show) {
52
- [SplashScreen show ];
52
+ [RNSplashScreen show ];
53
53
}
54
54
55
55
@end
You can’t perform that action at this time.
0 commit comments