diff --git a/Sources/NukeExtensions/ImageViewExtensions.swift b/Sources/NukeExtensions/ImageViewExtensions.swift index 2a8d24a0..2779080c 100644 --- a/Sources/NukeExtensions/ImageViewExtensions.swift +++ b/Sources/NukeExtensions/ImageViewExtensions.swift @@ -413,9 +413,11 @@ extension ImageViewController { transitionView.frame = imageView.frame transitionView.tintColor = imageView.tintColor transitionView.tintAdjustmentMode = imageView.tintAdjustmentMode +#if swift(>=5.9) if #available(iOS 17.0, tvOS 17.0, *) { transitionView.preferredImageDynamicRange = imageView.preferredImageDynamicRange } +#endif transitionView.preferredSymbolConfiguration = imageView.preferredSymbolConfiguration transitionView.isHidden = imageView.isHidden transitionView.clipsToBounds = imageView.clipsToBounds