how to transition between spatial3d to spatial3DImmersive?

Hi,

When viewing a spatial photo scene on the Apple Vision Pro Photos app, you can tap on the immersive icon on the top right corner to transaction from the window presenting the image as spatial3d to an immersive photo scene with spatial3DImmersive where the window borders disappear. Could someone explain how to achieve that? I tried to do it but once I transition from spatial3d to spatial3DImmersive I can see still see a rectangle around the spatial image.

Thanks.

or how to present a photo using spatial3DImmersive without window borders?

how to transition between spatial3d to spatial3DImmersive?
 
 
Q