ZoomNavigationTransition

A navigation transition that zooms the appearing view from a given source view.

StructureiOS 18.0+tvOS 18.0+watchOS 11.0+visionOS 2.0+ZoomNavigationTransition in SwiftUI

Declaration

React
type ZoomNavigationTransition = { zoom: { sourceID: string | number | boolean; in: string; }; };
Swift
struct ZoomNavigationTransition

Pass a literal, or build one with SwiftUI.ZoomNavigationTransition from import { SwiftUI } from 'swiftui-react-native'.

Type methods

Properties

  • zoom*{ sourceID: string | number | boolean; in: string; }

Overview

Indicate the source view using the View.matchedTransitionSource(id:in:) modifier.

NavigationTransition.automatic instead.

From Apple’s SwiftUI documentation. Code samples there are Swift.

See also

More in Navigation.