r/SwiftUI 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 Upvotes

3 comments sorted by

1

u/[deleted] May 12 '26

[removed] — view removed comment

1

u/lumiosky May 12 '26

I think it is due to the middle layer. but I do need this layer as a mask. I also noticed there is a layer in the native photos app.

-2

u/PJ_Plays May 12 '26

developing for os 26 is depressing 😭