mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 20:44:10 +00:00
Fix EmbeddedAppIOS documentation
Fix with correct init call on RCTRootView due to change in method signature from commit 261f9434e54274a68d2cb50644c436197ef48baa
This commit is contained in:
parent
066ebc021f
commit
16a29b0b87
@ -136,6 +136,7 @@ NSURL *jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.b
|
|||||||
// curl http://localhost:8081/index.ios.bundle -o main.jsbundle
|
// curl http://localhost:8081/index.ios.bundle -o main.jsbundle
|
||||||
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
|
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
|
||||||
moduleName: @"SimpleApp"
|
moduleName: @"SimpleApp"
|
||||||
|
initialProperties:nil
|
||||||
launchOptions:nil];
|
launchOptions:nil];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user