diff --git a/docs/next/integration-with-existing-apps.html b/docs/next/integration-with-existing-apps.html index 0a464bcfbc0..e99f0dd0951 100644 --- a/docs/next/integration-with-existing-apps.html +++ b/docs/next/integration-with-existing-apps.html @@ -407,7 +407,7 @@ AppRegistry.

-

When moving your app to production, the NSURL can point to a pre-bundled file on disk via something like let mainBundle = NSBundle(URLForResource: "main" withExtension:"jsbundle"). You can use the react-native-xcode.sh script in node_modules/react-native/scripts/ to generate that pre-bundled file.

+

When moving your app to production, the URL can point to a pre-bundled file on disk via something like Bundle.main.url(forResource: "main", withExtension: "jsbundle"). You can use the react-native-xcode.sh script in node_modules/react-native/scripts/ to generate that pre-bundled file.

3. Wire Up
diff --git a/docs/next/integration-with-existing-apps/index.html b/docs/next/integration-with-existing-apps/index.html index 0a464bcfbc0..e99f0dd0951 100644 --- a/docs/next/integration-with-existing-apps/index.html +++ b/docs/next/integration-with-existing-apps/index.html @@ -407,7 +407,7 @@ AppRegistry.

-

When moving your app to production, the NSURL can point to a pre-bundled file on disk via something like let mainBundle = NSBundle(URLForResource: "main" withExtension:"jsbundle"). You can use the react-native-xcode.sh script in node_modules/react-native/scripts/ to generate that pre-bundled file.

+

When moving your app to production, the URL can point to a pre-bundled file on disk via something like Bundle.main.url(forResource: "main", withExtension: "jsbundle"). You can use the react-native-xcode.sh script in node_modules/react-native/scripts/ to generate that pre-bundled file.

3. Wire Up