diff --git a/Classes/Thumbs/PDFKThumbView.m b/Classes/Thumbs/PDFKThumbView.m index 8061eac..99215df 100644 --- a/Classes/Thumbs/PDFKThumbView.m +++ b/Classes/Thumbs/PDFKThumbView.m @@ -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];