AVExperienceController.TransitionGroup
A group of experience transitions that prepare concurrently and run simultaneously as a single visual transition.
Declaration
struct TransitionGroup<ChildTransitionResult> where ChildTransitionResult : SendableOverview
Use withTransitionGroup(body:) to create a transition group. Add transitions using addTransition(operation:), and they perform together once all have been added and prepared.
Transitions in a group prepare concurrently, then perform their animations simultaneously, creating a single cohesive visual transition. Each transition completes with its own result, allowing you to handle individual successes and failures.
Handle Failures
Individual transitions may fail during preparation or execution without affecting other transitions in the group.