diff --git a/Source/Classes/GIFAnimatable.swift b/Source/Classes/GIFAnimatable.swift index 0f9df78..9277fc8 100644 --- a/Source/Classes/GIFAnimatable.swift +++ b/Source/Classes/GIFAnimatable.swift @@ -297,11 +297,12 @@ public enum SyncFrameRates: Int { /// Maximum refresh rate of the device screen. var maxFPS: Int { let maxFPS: Int - if #available(iOSApplicationExtension 10.3, *) { + if #available(iOS 10.3, *) { maxFPS = UIScreen.main.maximumFramesPerSecond } else { maxFPS = 60 } + return maxFPS } diff --git a/Supporting Files/Info.plist b/Supporting Files/Info.plist index f480d8b..2f91ba2 100644 --- a/Supporting Files/Info.plist +++ b/Supporting Files/Info.plist @@ -19,7 +19,7 @@ CFBundleSignature ???? CFBundleVersion - 166 + 167 NSPrincipalClass