onevcat пре 8 година
родитељ
комит
a8bcb4cdd6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Sources/AnimatedImageView.swift

+ 1 - 1
Sources/AnimatedImageView.swift

@@ -184,7 +184,7 @@ open class AnimatedImageView: UIImageView {
         // CA based display link is opt-out from ProMotion by default.
         // So the duration and its FPS might not match. 
         // See [#718](https://github.com/onevcat/Kingfisher/issues/718)
-        if #available(iOSApplicationExtension 10.3, *) {
+        if #available(iOSApplicationExtension 10.0, tvOSApplicationExtension 10.0, *) {
             // By setting CADisableMinimumFrameDuration to YES in Info.plist may 
             // cause the preferredFramesPerSecond being 0
             if displayLink.preferredFramesPerSecond == 0 {