View frame / bounds incorrect (iOS app on visionOS)

I'm running into an issue with the frame bounds of a Metal-based iOS app on the visionOS simulator. Here's a snapshot:

That's the result of downloading Apple's sample code and running it in the simulator (Apple Vision Pro (Designed for iPad)). Is it a bug in the simulator / iOS->visionOS emulation, or is that sample code doing something odd that isn't compatible with visionOS?

Thanks! Eddy

Hey Eddy,

I just tried to reproduce the issue displayed in your screenshot, but was unable to reproduce (on Xcode 15.1 beta 2 with the visionOS visionOS 1.0 beta 4 (21N5259j) Simulator).

If your configuration matches mine, please file a bug report for this issue using Feedback Assistant. If your configuration doesn't match mine, please update :)

View frame / bounds incorrect (iOS app on visionOS)
 
 
Q