Слияние кода завершено, страница обновится автоматически
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Image(uiImage:)
will result wrong rendering mode in some component like TabBarItem
, while using Image(decorative:scale:orientation:)
works well #177TabView
. If user want to use placeholder, limit themselves #178 #175WebImage
and AnimatedImage
#168ProgressView
instead #166WebImage
appear/disappear logic wrong. Using UIKit/AppKit to detect the visibility #164ScrollView/LazyVStack
. Which cause App freeze #162WebImage
will render the vector images as bitmap version even if you don't provide .thumbnailPixelSize
. To render real vector images, use AnimatedImage
instead.placeholder
View Builder API for AnimatedImage
#94WebImage
with some transition like scaleEffect, each time the new state update will cause unused image fetching #92delayPlaceholder
for WebImage #91AnimatedImage
little patch - UIKit/AppKit animated image now applied for resizingMode
#89AnimatedImage
's native View, the window does not exist and cause Crash #90ImageManager
now public. Which allows advanced usage for custom View type. Use @ObservedObject
to bind the manager with your own View and update the image.WebImage
now supports animation, use isAnimating
binding value on init methods.WebImage
now supports the detailed animation control options, like customLoopCount
, pausable
, purgeable
, playbackRate
.AnimatedImage
now supports the indicator with ViewModifier
as WebImage
.IndicatorViewModifier
now public.IndicatorReportable
now public.progress
type now changed from CGFloat
to Double
.WebImage.aniamted(_:)
now becomes the WebImage.init(url:options:context:isAnimating:)
Binding arg, you can use the Binding to control animations as well.AnimatedImage.playBackRate
now becomes AnimatedImage.playbackRate
AnimatedImage.customLoopCount
now is UInt
instead of Int
.AnimatedImage.resizable
modifier now matches the SwiftUI behavior, you must call it or the size will be fixed to image pixel size.Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )