One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

GlassEffectTransition

struct · iOS 26.0+ · SDK 27.1

struct GlassEffectTransition

A structure that describes changes to apply when a glass effect is added or removed from the view hierarchy.

Members (3)

get · iOS 26.0+

materialize

TypeScript
static get materialize(): GlassEffectTransition
Swift declaration
static var materialize: GlassEffectTransition { get }

The materialize glass effect transition which will fade in content and animate in or out the glass material but will not attempt to match the geometry of any other glass effects.

get · iOS 26.0+

matchedGeometry

TypeScript
static get matchedGeometry(): GlassEffectTransition
Swift declaration
static var matchedGeometry: GlassEffectTransition { get }

Returns the matched geometry glass effect transition. The matched geometry transition allows the geometries of glass shapes during an appearance or disappearance phase of a transition to be derived from the geometry of a nearby shape within the glass container. For example, if a newly appearing shape is within the spacing of any existing shape, it will use that shapes geometry to transition out of. When using the ``Animation/default``, this transition applies additional scale and offset effects to content when the identity of the shape does not change but its content does. Opt out of these additional animations by providing a specific animation like ``Animation/spring``.

get · iOS 26.0+

identity

TypeScript
static get identity(): GlassEffectTransition
Swift declaration
static var identity: GlassEffectTransition { get }

The identity transition specifying no changes.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →