visionOS UIKit API for setting Z offset?

Hey everybody!

Does anyone know if there's a UIKit API that's equivalent to SwiftUI's View/offset(z:)? https://developer.apple.com/documentation/swiftui/view/offset(z:)

I'd like to translate a UIView forward in space a little bit on visionOS. ❤️

Hi, although UIKit apps can get a little bit of depth when they are used in visionOS, you cannot add any more depth to your app programmatically unless you use SwiftUI.

visionOS UIKit API for setting Z offset?
 
 
Q