AspectFill autoresize problem

Today, I have a problem with AspectFill. When I add the image in UIImageView, it will autoresize. So, I face the problem with design.<p />I found a solution,now. Just put **clipsToBounds = YES**<p />    self.profileImage.image = fetchedImage;
 self.profileImage.contentMode = UIViewContentModeScaleAspectFill;
self.profileImage.clipsToBounds = YES;
comments powered byDisqus