From e9512ac7ea9239a4e2b89fbe71c7683ce55ef91b Mon Sep 17 00:00:00 2001 From: ylecollen Date: Wed, 7 Jan 2015 11:53:06 +0100 Subject: [PATCH] The contentMode was not properly managed. --- matrixConsole/View/CustomImageView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrixConsole/View/CustomImageView.m b/matrixConsole/View/CustomImageView.m index 0a7daa924..d740b0521 100644 --- a/matrixConsole/View/CustomImageView.m +++ b/matrixConsole/View/CustomImageView.m @@ -287,7 +287,7 @@ imageView = [[UIImageView alloc] init]; imageView.backgroundColor = [UIColor clearColor]; - imageView.contentMode = UIViewContentModeScaleAspectFit; + imageView.contentMode = self.contentMode; [scrollView addSubview:imageView]; } }