You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/11/07 23:19:08 UTC

ios commit: Updated deprecation notice for our minimum iOS 5.0 support

Updated Branches:
  refs/heads/master 56697f7a8 -> 8d5925ed2


Updated deprecation notice for our minimum iOS 5.0 support


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/8d5925ed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/8d5925ed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/8d5925ed

Branch: refs/heads/master
Commit: 8d5925ed2e38b2e2bdce4a7291ffb583fbb3352f
Parents: 56697f7
Author: Shazron Abdullah <sh...@apache.org>
Authored: Wed Nov 7 14:19:03 2012 -0800
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Wed Nov 7 14:19:03 2012 -0800

----------------------------------------------------------------------
 CordovaLib/Classes/CDVViewController.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/8d5925ed/CordovaLib/Classes/CDVViewController.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m
index a8e20bc..f21b766 100644
--- a/CordovaLib/Classes/CDVViewController.m
+++ b/CordovaLib/Classes/CDVViewController.m
@@ -107,8 +107,8 @@
 
 - (void)printDeprecationNotice
 {
-    if (!IsAtLeastiOSVersion(@"4.2")) {
-        NSLog(@"CRITICAL: For Cordova 2.0, you will need to upgrade to at least iOS 4.2 or greater. Your current version of iOS is %@.",
+    if (!IsAtLeastiOSVersion(@"5.0")) {
+        NSLog(@"CRITICAL: For Cordova 2.0, you will need to upgrade to at least iOS 5.0 or greater. Your current version of iOS is %@.",
             [[UIDevice currentDevice] systemVersion]
             );
     }