Updated Branches: refs/heads/master 0896a9491 -> 0d63aced9
Modified older iOS runtime warning. 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/0d63aced Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/0d63aced Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/0d63aced Branch: refs/heads/master Commit: 0d63aced9e2e3d0b4d1a1af901f2e38a2b0a932d Parents: 0896a94 Author: Shazron Abdullah <[email protected]> Authored: Fri Jul 13 17:34:40 2012 -0700 Committer: Shazron Abdullah <[email protected]> Committed: Fri Jul 13 17:34:40 2012 -0700 ---------------------------------------------------------------------- CordovaLib/Classes/CDVViewController.m | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0d63aced/CordovaLib/Classes/CDVViewController.m ---------------------------------------------------------------------- diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m index a560501..de8d524 100644 --- a/CordovaLib/Classes/CDVViewController.m +++ b/CordovaLib/Classes/CDVViewController.m @@ -113,8 +113,8 @@ - (void) printDeprecationNotice { - if (!IsAtLeastiOSVersion(@"4.2")) { // TODO: change WARNING to CRITICAL for 2.0 - NSLog(@"WARNING: 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(@"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 %@.", [[UIDevice currentDevice] systemVersion] ); }
