The contentMode was not properly managed.

This commit is contained in:
ylecollen 2015-01-07 11:53:06 +01:00
parent 9e76042675
commit 12fb38a228

View file

@ -287,7 +287,7 @@
imageView = [[UIImageView alloc] init]; imageView = [[UIImageView alloc] init];
imageView.backgroundColor = [UIColor clearColor]; imageView.backgroundColor = [UIColor clearColor];
imageView.contentMode = UIViewContentModeScaleAspectFit; imageView.contentMode = self.contentMode;
[scrollView addSubview:imageView]; [scrollView addSubview:imageView];
} }
} }