Thanks for your response!
I tried it on on the visionOS2.0 beta but it didn't work.
The same code works fine on iOS18.
I created a feedback with a video and sample project: FB14008833
Thanks!
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: