cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: Removed some iOS6 Deprecations
Date Mon, 10 Feb 2014 20:37:35 GMT
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 <sidney.bofah@googlemail.com>
Authored: Mon Jan 27 00:11:21 2014 +0100
Committer: Andrew Grieve <agrieve@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;
 


Mime
View raw message