I'm experimenting with RealityView in the UI of an AUv3 plug-in. The plug-in UI is implemented in a UIKitViewController with a UIHostingController hosting a RealityView. When i run the standalone app on visionOS I want the background to be transparent, and the reality view content. how can i achieve that? I've tried turning off opaque in many views and and setting background colors to .clear.
How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here
RealityView in UIHostingController/UIKit transparency
- (UIContainerBackgroundStyle) preferredContainerBackgroundStyle
{
return UIContainerBackgroundStyleHidden;
}
on my hosting app's View Controller did the trick