Open sree127 opened 8 years ago
Hi,
Is there a way to set the imageView contentMode to AspectFit.
The below code doesn't work.
- (void)displayImage:(UIImage *)image { self.imageView = [[UIImageView alloc] initWithImage:image]; self.imageView.clipsToBounds = NO; self.imageView.contentMode = UIViewContentModeScaleAspectFit; }
I have the same problem
Hi,
Is there a way to set the imageView contentMode to AspectFit.
The below code doesn't work.