docs/Enums/HeroSnapshotType.html
public enum HeroSnapshotType
Undocumented
`
optimized
`
Will optimize for different type of views For custom views or views with masking, .optimizedDefault might create snapshots that appear differently than the actual view. In that case, use .normal or .slowRender to disable the optimization
Swift
case optimized
`
normal
`
snapshotView(afterScreenUpdates:)
Swift
case normal
`
layerRender
`
layer.render(in: currentContext)
Swift
case layerRender
`
noSnapshot
`
will not create snapshot. animate the view directly. This will mess up the view hierarchy, therefore, view controllers have to rebuild its view structure after the transition finishes
Swift
case noSnapshot