Fix EmbeddedAppIOS documentation
Fix with correct init call on RCTRootView due to change in method signature from commit 261f9434e5
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
|
||||
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
|
||||
moduleName: @"SimpleApp"
|
||||
initialProperties:nil
|
||||
launchOptions:nil];
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue