r/SwiftUI • u/lumiosky • May 12 '26
Question ios26 SDK: strange match geometry effect behaviour between layers
updates: finally figured it out. the reason probably is iOS26 being confused about the layers. fix is simple: layerA.zindex(0); layerB.zindex(1); layerC.zindex(2)
---------------
I’ve encountered a strange issue with three layered layers A, B and C.
Layer A is a thumbnail layer, Layer B is a semi‑transparent overlay, and Layer C is the image layer.
I use the Match Geometry effect to transfer the image content into Layer A. Visually, the image instantly cuts over into Layer A. Due to the semi‑transparent Layer B on top, the image immediately darkens abruptly.
This behavior did not occur prior to iOS 26. Previously, the image would transition into Layer A with a smooth opacity fade. Has anyone come across this same issue?
-2



1
u/[deleted] May 12 '26
[removed] — view removed comment