mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-07 17:27:56 +08:00
Merge pull request #4654 from tyiu/master
Fix EmbeddedAppIOS documentation
This commit is contained in:
@@ -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];
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user