Contents

identity

The identity content transition, which indicates that content changes shouldn’t animate.

Declaration

static let identity: ContentTransition

Discussion

You can pass this value to a contentTransition(_:) modifier to selectively disable animations that would otherwise be applied by a withAnimation(_:_:) block.

See Also

Getting content transitions