Skip to content

Commit

Permalink
Fixed Autolayout warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marxon13 committed Nov 21, 2014
1 parent 1385f30 commit 5ee8f82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Thumbs/PDFKThumbView.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ - (id)initWithFrame:(CGRect)frame
imageView.autoresizesSubviews = NO;
imageView.userInteractionEnabled = NO;
imageView.autoresizingMask = UIViewAutoresizingNone;
imageView.translatesAutoresizingMaskIntoConstraints = NO;
imageView.contentMode = UIViewContentModeScaleAspectFit;

[self addSubview:imageView];
Expand Down

0 comments on commit 5ee8f82

Please sign in to comment.