The contentMode was not properly managed.

This commit is contained in:
ylecollen 2015-01-07 11:53:06 +01:00
parent 18ff48a0f2
commit e9512ac7ea

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];
} }
} }