In my app, I have an ARView
that has cameraMode
set to nonAR
.
I occasionally hide the ARView
when it is not needed and reveal it again later.
While the ARView
is hidden, I'd like to pause the animation to save iPhone battery life. I'd also like to do this when I know that animation in my scene has paused and the contents of the view, although still visible, is static.
This was possible using SceneKit, but I can't seem to find an equivalent way to do it using RealityKit.
At least as of iOS 18, a hidden ARView
with an empty scene appears to use approximately 30% of the CPU.
How can I pause ARView
so that it won't use the battery unnecessarily?
Thank you for considering this question.
Hello @drewolbrich,
Please file an enhancement request using Feedback Assistant, to request API to pause an ARView's scene.
Best regards,
Greg