You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/02/10 21:37:35 UTC

git commit: Removed some iOS6 Deprecations

Updated Branches:
  refs/heads/dev 985d94ee0 -> 24e6a1fee


Removed some iOS6 Deprecations


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/24e6a1fe
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/24e6a1fe
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/24e6a1fe

Branch: refs/heads/dev
Commit: 24e6a1feeb521b53a2f773b8ebff61bed1ecc6ce
Parents: 985d94e
Author: Sidney Bofah <si...@googlemail.com>
Authored: Mon Jan 27 00:11:21 2014 +0100
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Feb 10 15:37:23 2014 -0500

----------------------------------------------------------------------
 src/ios/CDVInAppBrowser.m | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/24e6a1fe/src/ios/CDVInAppBrowser.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVInAppBrowser.m b/src/ios/CDVInAppBrowser.m
index a660ac2..213cb73 100644
--- a/src/ios/CDVInAppBrowser.m
+++ b/src/ios/CDVInAppBrowser.m
@@ -510,14 +510,14 @@
     self.addressLabel.contentStretch = CGRectFromString(@"{{0, 0}, {1, 1}}");
     self.addressLabel.enabled = YES;
     self.addressLabel.hidden = NO;
-    self.addressLabel.lineBreakMode = UILineBreakModeTailTruncation;
-    self.addressLabel.minimumFontSize = 10.000;
+    self.addressLabel.lineBreakMode = NSLineBreakByTruncatingTail;
+    self.addressLabel.minimumScaleFactor = 10.000;
     self.addressLabel.multipleTouchEnabled = NO;
     self.addressLabel.numberOfLines = 1;
     self.addressLabel.opaque = NO;
     self.addressLabel.shadowOffset = CGSizeMake(0.0, -1.0);
     self.addressLabel.text = NSLocalizedString(@"Loading...", nil);
-    self.addressLabel.textAlignment = UITextAlignmentLeft;
+    self.addressLabel.textAlignment = NSTextAlignmentLeft;
     self.addressLabel.textColor = [UIColor colorWithWhite:1.000 alpha:1.000];
     self.addressLabel.userInteractionEnabled = NO;