diff --git a/Source/AnimatableImageView.swift b/Source/AnimatableImageView.swift index 1151c56..dbf7744 100644 --- a/Source/AnimatableImageView.swift +++ b/Source/AnimatableImageView.swift @@ -127,4 +127,8 @@ public class AnimatableImageView: UIImageView { func attachDisplayLink() { displayLink.add(to: .main, forMode: RunLoopMode.commonModes) } + + public override var intrinsicContentSize: CGSize { + return image?.size ?? CGSize.zero + } } diff --git a/Source/Info.plist b/Source/Info.plist index 207e821..bfdd68e 100644 --- a/Source/Info.plist +++ b/Source/Info.plist @@ -19,7 +19,7 @@ CFBundleSignature ???? CFBundleVersion - 100 + 102 NSPrincipalClass