You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SDWebImageSwiftUI/Classes/AnimatedImage.swift
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -489,9 +489,11 @@ extension AnimatedImage {
489
489
}
490
490
491
491
/// Provide a max buffer size by bytes. This is used to adjust frame buffer count and can be useful when the decoding cost is expensive (such as Animated WebP software decoding). Default is nil.
492
-
// `0` or nil means automatically adjust by calculating current memory usage.
493
-
// `1` means without any buffer cache, each of frames will be decoded and then be freed after rendering. (Lowest Memory and Highest CPU)
494
-
// `UInt.max` means cache all the buffer. (Lowest CPU and Highest Memory)
492
+
///
493
+
/// `0` or nil means automatically adjust by calculating current memory usage.
494
+
/// `1` means without any buffer cache, each of frames will be decoded and then be freed after rendering. (Lowest Memory and Highest CPU)
495
+
/// `UInt.max` means cache all the buffer. (Lowest CPU and Highest Memory)
/// Whehter or not to enable incremental image load for animated image. See `SDAnimatedImageView` for detailed explanation for this.
502
504
/// - Note: If you are confused about this description, open Chrome browser to view some large GIF images with low network speed to see the animation behavior.
503
505
/// Default is true. Set to false to only render the static poster for incremental animated image.
506
+
/// - Warning: watchOS does not implementes.
504
507
/// - Parameter incrementalLoad: Whether or not to incremental load
0 commit comments