Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sync up initWithFrame and initWithCoder

  • Loading branch information...
commit 0cf43479316fd499f86726460c31f2cbcfa0b13f 1 parent 4fd6106
@anoopr anoopr authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  Classes/FLImageView.m
View
2  Classes/FLImageView.m
@@ -70,6 +70,8 @@ - (id)initWithFrame:(CGRect)frame {
- (id)initWithCoder:(NSCoder *)decoder {
self = [super initWithCoder:decoder];
if (self) {
+ self.autoresizeEnabled = NO;
+ self.contentScaleFactor = [UIScreen mainScreen].scale;
self.contentMode = UIViewContentModeScaleAspectFit;
}
return self;
Please sign in to comment.
Something went wrong with that request. Please try again.