Contents

ContentTransition

A kind of transition that applies to the content within a single view, rather than to the insertion or removal of a view.

Declaration

struct ContentTransition

Overview

Set the behavior of content transitions within a view with the contentTransition(_:) modifier, passing in one of the defined transitions, such as opacity or interpolate as the parameter.

Content transitions only take effect within the context of an Animation block.

Topics

Getting content transitions

See Also

Defining transitions