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 2012/11/21 20:09:16 UTC

[1/3] ios commit: Fixing autoresizingMask of imageView

Updated Branches:
  refs/heads/master b51fdb3e2 -> 6e60c222f


Fixing autoresizingMask of imageView

https://issues.apache.org/jira/browse/CB-1833


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/6e60c222
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/6e60c222
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/6e60c222

Branch: refs/heads/master
Commit: 6e60c222f8194bb43de6b52c5ea9ff84cc92e040
Parents: 5ce5e15
Author: Kevin Hawkins <kh...@salesforce.com>
Authored: Fri Nov 9 15:56:37 2012 -0800
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Nov 21 13:53:53 2012 -0500

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/6e60c222/CordovaLib/Classes/CDVViewController.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m
index 2eb8098..387f4b8 100644
--- a/CordovaLib/Classes/CDVViewController.m
+++ b/CordovaLib/Classes/CDVViewController.m
@@ -704,7 +704,7 @@
     self.imageView.tag = 1;
     self.imageView.center = center;
 
-    self.imageView.autoresizingMask = (UIViewAutoresizingFlexibleWidth & UIViewAutoresizingFlexibleHeight & UIViewAutoresizingFlexibleLeftMargin & UIViewAutoresizingFlexibleRightMargin);
+    self.imageView.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin);
     [self.imageView setTransform:startupImageTransform];
     [self.view.superview addSubview:self.imageView];