For example, in Apple Maps or the Find My app, the main view in the background is the entire map view and a sheet gets presented on top.
When the user, let’s say taps on a point of interest on the map or a device in the sheet in the find my app, a brand new sheet pops up on top of the current sheet and sorts of “merges” with sheet right below it.
And when looking through this new top most sheet, the sheet below cannot be seen through the background material of the top most sheet. But instead, the map view can be seen through the background material of the sheet.
I am not sure what kind of technique Apple is using here.
I have tried setting the alpha to 0 of the sheet that has a UIVisualEffectView with a blur effect as its background but this view is notorious of having weird glitches during animations when trying to set its alpha to 0.
I have been looking at various examples here in stackoverflow and I am unable to find any useful resource for this effect. A simple example demonstrating would be greatly appreciated!