Using Spatial Audio in Swift

Hello, I'm trying to experiment with Spatial Audio using Dolby Atmos on iOS using Swift.

What are the steps I need to do to try out the spatial audio that stays stationary when moving your head?

Do I need to use the CMHeadphoneMotionManager combined with SceneKit? Or does it automatically work with AVPlayer out of the box? Currently, I can't get either working.

I'm a bit confused as there is very slim information on the internet regarding this feature.

Thanks!