Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

ARView rotation animation changes when coming back to it from a navigationLink

I have an app that uses RealityKit and ARKit, which includes some capturing features (to capture and image with added Entities). I have a navigationLink that allows the user to see the gallery of the images he has taken.

When launching the App, the rotation animation of the ARView happens smoothly, the navigationBar transitions from one orientation to another with the ARView keeping it's orientation.

However, when I go to the galeryView to see the images and go back to the root view where the ARView is, the rotation animation of the ARView changed:

When transitioning from one orientation to another, the ARView is flipped by 90° before transitioning to the new orientation.

The issue is shown in this gif (https://i.stack.imgur.com/IOvCx.gif)

Any idea why this happens and how I could resolve it without locking the App's orientation changes?

Thanks!

If you've implemented a workaround for this issue, you may want to investigate it again. I think it may have been fixed in iOS 18.5 or perhaps earlier.

ARView rotation animation changes when coming back to it from a navigationLink
 
 
Q