X 归档 2024-06-15
#SwiftUI MeshGradient: Use `smoothsColors: true` to get a silky smooth interpolation for the mesh colors. #WWDC24
#SwiftUI MeshGradient:使用 `smoothsColors: true` 可以让网格颜色获得丝般顺滑的插值。#WWDC24
The zoom transition can be used not only in navigation containers but also on sheets and fullScreenCovers. When applied to a sheet, it ultimately displays in a fullscreen format.
zoom 过渡不仅可以用在导航容器中,还可以用在 sheet 和 fullScreenCovers 上。当应用到 sheet 时,它最终会以全屏形式显示。



