Updated Branches: refs/heads/master b1dd2d36b -> eb12742c3
Add info about changes to MainViewController.m Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/eb12742c Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/eb12742c Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/eb12742c Branch: refs/heads/master Commit: eb12742c3a6fb14fce86e11b19cff807d86576a2 Parents: b1dd2d3 Author: Brian Olore <br...@olore.net> Authored: Mon Oct 1 22:36:37 2012 -0400 Committer: Andrew Grieve <agri...@chromium.org> Committed: Wed Oct 3 10:29:02 2012 -0400 ---------------------------------------------------------------------- docs/en/2.1.0/guide/upgrading/ios/index.md | 8 +++++--- docs/en/edge/guide/upgrading/ios/index.md | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/eb12742c/docs/en/2.1.0/guide/upgrading/ios/index.md ---------------------------------------------------------------------- diff --git a/docs/en/2.1.0/guide/upgrading/ios/index.md b/docs/en/2.1.0/guide/upgrading/ios/index.md index 94e9501..53616ce 100644 --- a/docs/en/2.1.0/guide/upgrading/ios/index.md +++ b/docs/en/2.1.0/guide/upgrading/ios/index.md @@ -35,9 +35,11 @@ With **Cordova 2.1.0**, CordovaLib has been upgraded to use **Automatic Referenc 8. Update (or replace, if you never changed the file) your **AppDelegate.m** according to the one from the new project: - Edited -> application:didFinishLaunchingWithOptions: - Added -> application:supportedInterfaceOrientationsForWindow: -9. Copy the **"cordova"** folder from the new project into your project's root folder **(in 2.1.0, this has the updated scripts to support paths with spaces)** -10. Remove the **VERSION** file reference from your **project** (**NOT** the one in CordovaLib) -11. Next, update your CordovaLib sub-project reference. Beginning with Cordova 2.1.0, we are not using the CORDOVALIB Xcode variable anymore when referencing where CordovaLib resides, the reference is an absolute file reference now. +9. Update (or replace, if you never changed the file) your **MainViewController.m** according to the one from the new project: + - Added -> viewWillAppear +10. Copy the **"cordova"** folder from the new project into your project's root folder **(in 2.1.0, this has the updated scripts to support paths with spaces)** +11. Remove the **VERSION** file reference from your **project** (**NOT** the one in CordovaLib) +12. Next, update your CordovaLib sub-project reference. Beginning with Cordova 2.1.0, we are not using the CORDOVALIB Xcode variable anymore when referencing where CordovaLib resides, the reference is an absolute file reference now. 1. Launch **Terminal.app** 2. Go to the location where you installed Cordova **(see Step 1)**, in the **bin** sub-folder 3. Run the script below where the first parameter is the path to your project's **.xcodeproj** file: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/eb12742c/docs/en/edge/guide/upgrading/ios/index.md ---------------------------------------------------------------------- diff --git a/docs/en/edge/guide/upgrading/ios/index.md b/docs/en/edge/guide/upgrading/ios/index.md index 94e9501..53616ce 100644 --- a/docs/en/edge/guide/upgrading/ios/index.md +++ b/docs/en/edge/guide/upgrading/ios/index.md @@ -35,9 +35,11 @@ With **Cordova 2.1.0**, CordovaLib has been upgraded to use **Automatic Referenc 8. Update (or replace, if you never changed the file) your **AppDelegate.m** according to the one from the new project: - Edited -> application:didFinishLaunchingWithOptions: - Added -> application:supportedInterfaceOrientationsForWindow: -9. Copy the **"cordova"** folder from the new project into your project's root folder **(in 2.1.0, this has the updated scripts to support paths with spaces)** -10. Remove the **VERSION** file reference from your **project** (**NOT** the one in CordovaLib) -11. Next, update your CordovaLib sub-project reference. Beginning with Cordova 2.1.0, we are not using the CORDOVALIB Xcode variable anymore when referencing where CordovaLib resides, the reference is an absolute file reference now. +9. Update (or replace, if you never changed the file) your **MainViewController.m** according to the one from the new project: + - Added -> viewWillAppear +10. Copy the **"cordova"** folder from the new project into your project's root folder **(in 2.1.0, this has the updated scripts to support paths with spaces)** +11. Remove the **VERSION** file reference from your **project** (**NOT** the one in CordovaLib) +12. Next, update your CordovaLib sub-project reference. Beginning with Cordova 2.1.0, we are not using the CORDOVALIB Xcode variable anymore when referencing where CordovaLib resides, the reference is an absolute file reference now. 1. Launch **Terminal.app** 2. Go to the location where you installed Cordova **(see Step 1)**, in the **bin** sub-folder 3. Run the script below where the first parameter is the path to your project's **.xcodeproj** file: