Fix EmbeddedAppIOS documentation

Fix with correct init call on RCTRootView due to change in method signature from commit 261f9434e5
This commit is contained in:
Terry Yiu 2015-12-08 14:30:07 -08:00
parent 066ebc021f
commit 16a29b0b87
1 changed files with 1 additions and 0 deletions

View File

@ -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];
```